Does anyone know how to make mysql restart automatically if the server reboots?
All I could get from the mysql documentation was to use mysql.server but no detailed instructions except to put it in /etc/init.d with a link to /etc/rc3.d/s99mysql
The other way is to start external scripts using /etc/rc.local and adding in
/bin/sh -c 'cd /usr/local/mysql ; ./bin/safe_mysqld &'
Would option 2 work?
Just getting ready for New Years when things shut down.
Kevin
All I could get from the mysql documentation was to use mysql.server but no detailed instructions except to put it in /etc/init.d with a link to /etc/rc3.d/s99mysql
The other way is to start external scripts using /etc/rc.local and adding in
/bin/sh -c 'cd /usr/local/mysql ; ./bin/safe_mysqld &'
Would option 2 work?
Just getting ready for New Years when things shut down.
Kevin