I recently added mysql.server
to start during the start up by doing this:
cd /etc/rc.d/rc5.d/
ln -s /etc/init.d/mysql.server S98mysql
I have perhaps not correctly understood the <number>
part of s<number>script
/ k<number>script
naming convention for the RC scripts.
Although, I know that it's for: representing the order in which the script will be executed during the run of runlevel control script.
Picked up S98mysql
from: How To Install MySQL : 6.0 Automatic MySQL Start-up during boot
But MySQL does not start during startup. Will show this message when trying to connect (as expected):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Works fine if I do a manual start with: /etc/init.d/mysql.server start
What am I doing wrong?
I am using Fedora 15
.