DeveloperSide.NET Forums
July 24, 2019, 12:11:18 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Starting MySQL on boot  (Read 7688 times)
0 Members and 1 Guest are viewing this topic.
jledhead
Member
*
Posts: 2


View Profile
« 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
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 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.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
jledhead
Member
*
Posts: 2


View Profile
« Reply #2 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!