LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-30-2004, 11:34 AM   #1
fallen26
LQ Newbie
 
Registered: Jul 2004
Location: Pakistan
Posts: 4

Rep: Reputation: 0
starting a service at boot time


Hi all,
i need to start mysql deamon at boot time so that i dont need to start it manually.. can any body help.. thanks in advance

regards
Asad
 
Old 07-30-2004, 12:30 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
the method to do this varies between distros...

what distro are you using??
 
Old 07-30-2004, 04:03 PM   #3
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
In most distros you can type at the command line
ntsysv

A utility will show up with a list of services that can be started at boot-up , scroll down the list and select / deselect the required service by pressing the space bar , then press Tab to select OK and then exit.
 
Old 07-31-2004, 01:20 AM   #4
fallen26
LQ Newbie
 
Registered: Jul 2004
Location: Pakistan
Posts: 4

Original Poster
Rep: Reputation: 0
i am using Red Hat 9
 
Old 07-31-2004, 09:59 AM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
try using something like this:

chkconfig mysql on

 
Old 07-31-2004, 01:21 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
yup as win32sux said you can use the chkconfig utility from the command line interface or if you are using th desktop you can run redhat-config-services to get a nice little gui. I prefer chkconfig as well but linux is all about options so I figured I'd throw this one out too.
 
  


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
Starting a Service at Boot as a Different user Butterbroetchen Linux - Security 2 05-16-2005 08:05 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM
Starting up a service (Postgres) on boot aa2bi Linux - Newbie 1 06-15-2004 06:34 PM
start the service for every boot time yuva_mca Linux - General 3 03-09-2004 02:18 PM
Starting apache and mysql as service on boot :: buddy Linux - General 2 12-30-2002 03:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:28 PM.

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
Open Source Consulting | Domain Registration