[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] autostart mysql after system reboot on raq550



On 13 Jan 2003, Thomas Hecker wrote:

> after rebooting my raq 550 a php script wich should connect to a mysql database causes this error:
>
> Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/.sites/28/site1/web/start.php
>
> what do i have to do, that mysql start automaticaly when the system gets rebootet??

see if it is running
ps aux | grep mysql
look at
chkconfig --list | grep mysql
see if it is on. (level 3)
You might also look at the log files, there may have been an error when it
tried to start.
And/Or try running /etc/rc.d/init.d/mysql start

Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
Front Street Networks LLC      | Phone: +1 203 785-0699
229 Front Street, Ste. #C, New Haven, CT. 06513-3203