LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   starting a service at boot time (https://www.linuxquestions.org/questions/general-10/starting-a-service-at-boot-time-211479/)

fallen26 07-30-2004 10:34 AM

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

win32sux 07-30-2004 11:30 AM

the method to do this varies between distros...

what distro are you using??

sandgroper 07-30-2004 03:03 PM

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.

fallen26 07-31-2004 12:20 AM

i am using Red Hat 9

win32sux 07-31-2004 08:59 AM

try using something like this:

chkconfig mysql on


Crashed_Again 07-31-2004 12:21 PM

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.


All times are GMT -5. The time now is 07:13 AM.