Re: How to start mysql at boot time?

From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 06/16/05


Date: Wed, 15 Jun 2005 19:20:41 -0500

On Wed, 15 Jun 2005 16:40:31 -0500, Shane Almeida wrote:

> The mysql-server package on 3.7 does not modify any of those files.

You are correct. My original installation was on 3.5 which was then
updated to 3.6 then 3.7.

The files which need to be modified are /etc/rc.local and
/etc/rc.shutdown:

For /etc/rc.local append the following line:

echo -n " mysqld"; /usr/local/share/mysql/mysql.server start

and for /etc/rc.shutdown append this:

/usr/local/share/mysql/mysql.server stop