Setting auto start at boot option

From Foochal

Jump to: navigation, search

To start mysqld automatically at boot time, type the following command

chkconfig mysqld on

To confirm type the following:

find /etc/rc.d | grep mysql

You should see the following:

/etc/rc.d/init.d/mysqld
/etc/rc.d/rc0.d/K36mysqld
/etc/rc.d/rc1.d/K36mysqld
/etc/rc.d/rc2.d/S64mysqld
/etc/rc.d/rc3.d/S64mysqld
/etc/rc.d/rc4.d/S64mysqld
/etc/rc.d/rc5.d/S64mysqld
/etc/rc.d/rc6.d/K36mysqld

K mean kill at run level 0, 1 and 6. S means start at run level 2, 3, 4 and 5.


Personal tools