PDA

View Full Version : MySQL unplugged!


smiling_pig
01-24-2004, 05:15 PM
Hi

Starting with this of Server Administration, and I got a DirectAdmin server. It came with DA already installed but MySQL has been always dead, on the panel: "Process is stopped". And nothing I try on the panel works to get it back working...

Asked for help from the DC, but its weekend and they dont answer... Can someone give me hints how can I try to fix this without smashing anything else? ;)

Thanks

PIG:D

l0rdphi1
01-24-2004, 08:46 PM
On SSH:

service mysqld start

Icheb
01-26-2004, 09:47 AM
Note, if it dies again after the service mysqld start command you might have to set the correct permissions...

I will try to help you with this, but I don't promis it will work as I am doing this without a linux console, so my directory's might be a bit off...


cd /var/lib
ls -al | grep mysql

If you see something like :
root root as permissions, mysql won't start...
You can fix this by :

chown -Rv mysql.root mysql/


Also note that the chmod is correct, although I think the RPM installer won't screw around with this too much