you might also need to run chkconfig to turn on the startup script.
do:
chkconfig --list |grep mysql
...if is says off off off... and no "on"'s, then it's off. So, do:
chkconfig mysql on
...then do this again:
chkconfig --list |grep mysql
There's more to it... all those numbers are init states 0,2,3,4,5,6 - all
state the Unix books might be in, the first few being boot up, while 3,4,5
are when it's really starting to go... I think 5/6 are related to starting
X, I forget. You probably don't have to worry about that though... just
use that "on" command and it will probably fix it for you.
At 09:09 PM 5/14/2001 -0400, you wrote:
>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 ; ./bin/safe_mysqld --user=mysql &'
>
>I also made sure that mysql.server file is executable.
>
>Any ideas on how to get the mysql to startup?
>
>P.S. I'm still new to linux and would appreciate any help! :)
>
>Thanks!
>
>SW
>
>
>
>---------------------------------------------------------------------
>Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail <[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php