DeveloperSide.NET Forums

DeveloperSide.NET => Building a Web Server, for Linux => Topic started by: jledhead on June 23, 2005, 04:57:37 AM



Title: Starting MySQL on boot
Post by: jledhead on June 23, 2005, 04:57:37 AM
I love the guides and downloads on this site.  all have worked very well so far.

I setup mysql according to this http://www.devside.net/web/server/linux/mysql

and would like to know how to get it to start on boot.

TIA


Title: Starting MySQL on boot
Post by: admin on June 24, 2005, 08:37:56 PM
Well, the simplest of ways would be to edit /etc/rc.d/rc.local and add code...
Code:

/usr/local/mysql/bin/safe_mysqld --user=mysql --bind-address=127.0.0.1 &


Other than that, you can mess around with init.d scripts or/and with the service scripts.


Title: Starting MySQL on boot
Post by: jledhead on June 25, 2005, 02:52:28 AM
first off, hello fellow north carolinian

I don't have rc.local

for others who may need it, I did find a folder inside the mysql folder called support files and it has a start script for /etc/init.d/ that works perfectly with Debian.