auto startup of mysql in redhat box?

2001-05-16 Thread Steve West
I'm trying to figure out how to get mysql to startup automatically after rebooting the server? I have a Redhat 7.0 box and I placed a file to call up the mysql.server auto startup script as follows: /etc/rc.d/init.d/mysql which has the following code: /bin/sh -c 'cd /usr/local/mysql ;

Re: auto startup of mysql in redhat box?

2001-05-16 Thread Bruce Ferrell
login as root. Use: chkconfig --list mysql to determin if it on, if it's not on issue: chkconfig mysql on. That will make sure that mysql starts at boot time. To start mysql manually use: service mysql start Steve West wrote: I'm trying to figure out how to get mysql to startup

RE: auto startup of mysql in redhat box?

2001-05-16 Thread Steve West
]] Sent: Wednesday, May 16, 2001 9:32 PM To: [EMAIL PROTECTED] Cc: MySQL Subject: Re: auto startup of mysql in redhat box? login as root. Use: chkconfig --list mysql to determin if it on, if it's not on issue: chkconfig mysql on. That will make sure that mysql starts at boot time. To start mysql

RE: auto startup of mysql in redhat box?

2001-05-16 Thread Steve West
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 9:48 PM To: [EMAIL PROTECTED] Subject: Re: auto startup of mysql in redhat box? Yeah, it means that the mysql.server file doesn't have the right structure at the top to make chkconfig happy. What version of mysql are you using

Re: auto startup of mysql in redhat box?

2001-05-16 Thread hunter
Actually that is incorrect syntax...the following is the correct syntax to ensure that mysqld is running at boot in the different run levels: /sbin/chkconfig --level 345 mysqld on as it is a daemon, you need to use 'mysqld' not mysql, and you also need to pass to chkconfig the runlevels you

RE: auto startup of mysql in redhat box?

2001-05-16 Thread Steve West
Bruce, Thanks for all the help so far! :) It finnally works. SW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 10:20 PM To: [EMAIL PROTECTED] Subject: Re: auto startup of mysql in redhat box? Actually that's what chkconfig does

Re: auto startup of mysql in redhat box?

2001-05-16 Thread Bruce Ferrell
/S99mysql and /etc/rc0.d/S01mysql. Do you know how I can go about doing this? Thanks! SW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 9:48 PM To: [EMAIL PROTECTED] Subject: Re: auto startup of mysql in redhat box