Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-20-2005, 05:11 PM   #1
Registered: Dec 2004
Posts: 196

Rep: Reputation: 30
How can mySQL start automatically on boot ?

I am using SuSe 9.3 with KDE 3.4

I have installed mySQL and it working fine with but the problem is that I have to start the mysql server everytime I boot using /etc/init.d/mysql start

is there a way to make it start automatically on boot ??

thanx in advance
Old 06-20-2005, 06:30 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Try adding the command to the end of /etc/init.d/boot.local, then reboot to see if it works. Bool.local is one place to add commands you want to run on bootup.

Note: if you don't have a boot disk of some kind, make one before you try this. The boot.local file contains commands you want to run on boot. But, they run before your system goes to the first runlevel. If boot fails, you will need an alternate means to boot and remove the offending command from boot.local.
Old 06-20-2005, 07:00 PM   #3
Registered: Dec 2004
Posts: 196

Original Poster
Rep: Reputation: 30
actually I dont understand what you mean by a boot disk ?

does you mean CD1 of SuSe 9.3 or what ?

thx in advance
Old 06-22-2005, 09:59 AM   #4
Registered: Dec 2004
Posts: 196

Original Poster
Rep: Reputation: 30
please guys any help ?
Old 06-22-2005, 10:05 AM   #5
Registered: Jun 2005
Location: here
Distribution: Ubuntu, maintain a Vector Linux install
Posts: 50

Rep: Reputation: 15
What he means by bootdisk is a CD that can be booted off of. One could then use this disk to fix any problems on the hard drive. One very popular boot disk is Knoppix.
Old 06-22-2005, 10:11 AM   #6
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
*Edit* Previous post was submitted faster than i could respond :-)

Disk 1 should be OK (ie booting up the disk should give you the option for a rescue mode).

Basically what you need is some way of getting back into your system if the editting of the file screws something up, even a Knoppix disk should suffice.

Last edited by okmyx; 06-22-2005 at 10:13 AM.
Old 06-24-2005, 12:33 PM   #7
LQ Newbie
Registered: Jun 2005
Distribution: SUSE 9.3
Posts: 1

Rep: Reputation: 0
Start MySQL with Yast2


start Yast2, goto system, Runlevel-Editor, scroll to mysql and switch to yes. That's it.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I start dhclient automatically at boot-up? moonmoth Linux - Networking 4 07-17-2005 04:15 AM
dhcp won't start automatically on boot blk96gt Slackware 5 01-24-2005 01:42 PM
start mysql automatically compzoo Linux - Newbie 4 01-15-2005 10:47 AM
How do I start a program automatically when I boot up? bad_andy Mandriva 2 11-27-2004 08:15 PM
How do I start programs automatically with boot up? Kasperisa Linux - Newbie 6 07-15-2004 03:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration