LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-20-2005, 06:11 PM   #1
John_Emad
Member
 
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, 07:30 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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, 08:00 PM   #3
John_Emad
Member
 
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, 10:59 AM   #4
John_Emad
Member
 
Registered: Dec 2004
Posts: 196

Original Poster
Rep: Reputation: 30
please guys any help ?
 
Old 06-22-2005, 11:05 AM   #5
stalefries
Member
 
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, 11:11 AM   #6
okmyx
Member
 
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 11:13 AM.
 
Old 06-24-2005, 01:33 PM   #7
switch2linux
LQ Newbie
 
Registered: Jun 2005
Distribution: SUSE 9.3
Posts: 1

Rep: Reputation: 0
Start MySQL with Yast2

Hi,

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

 
  


Reply


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 05:15 AM
dhcp won't start automatically on boot blk96gt Slackware 5 01-24-2005 02:42 PM
start mysql automatically compzoo Linux - Newbie 4 01-15-2005 11:47 AM
How do I start a program automatically when I boot up? bad_andy Mandriva 2 11-27-2004 09:15 PM
How do I start programs automatically with boot up? Kasperisa Linux - Newbie 6 07-15-2004 04:29 PM


All times are GMT -5. The time now is 08:55 AM.

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