Error when starting mysql
Hi
I have installed the latest tar ball from slakeware mysql-4.0.17-i486-1.tgz When staring the server is stopped after a few seconds: root@node:/etc/rc.d# ./rc.mysqld start root@node:/etc/rc.d# Starting mysqld daemon with databases from /var/lib/mysql 031222 16:33:06 mysqld ended root@node:/etc/rc.d# Is ther more needer beside this tarball? I looked to find a log of mysql but not found here on the system. Peppie |
hi...
#> su mysql #> mysql_install_db that should solve your problem ^^ btw .... the instructions are in /etc/rc.d/rc.mysqld RTFS ^^ regards |
Dont forget after intalling the initial db's, to change permissions/ownerships like this:
chown -R mysql.mysql /var/lib/mysql And then attempt to start the mysql server. Regards. |
trickykid->
vim `which mysql_install_db` Code:
# Create database directories mysql & test sorry *g* |
My bad, wasn't thinking when I posted as I've usually end up creating mine as root and change the permissions afterwards during initial setup.. ;)
|
well, it doesn't hurt chown'ing a second time =)
but I have to stop beeing a wise guy =P hihi ^^ |
#> su mysql
when I do this I get $/root$ if I now type mysql_install_db I get bash error command not found. I notice too that in my shell where I am logged in as root, after typing su mysql, I am dumped out of a root shell and given a user prompt. What on earth have I done wrong? And how do I get MySQL going? Trying too hard! MySQL is performing at last. Thanks for the help everyone. |
All times are GMT -5. The time now is 03:13 PM. |