LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   MySQL doesn't start after reboot (https://www.linuxquestions.org/questions/linux-server-73/mysql-doesn%27t-start-after-reboot-661463/)

nfrolov 08-08-2008 02:01 PM

MySQL doesn't start after reboot
 
Hello,

I have successfully install apache, php, mysql on Fedora Core 7

> yum install httpd, php, mysql, mysql-server

It all works, but... mysql doesn't start after reboot, nevertheless I can run it manually

> mysqld_safe -user=mysql &

I read in manual that if in etc/init.d/ exists mysqld script, mysql will start on reboot, but it doesn't (

So I looking in the screen for last 4 hours and pooling my hairs... What is it? Can anyone give me any suggestions

Thanks everyone in advance
Nick

grepmasterd 08-08-2008 02:05 PM

run 'chkconfig --list mysqld' to see if it is configured to start up automatically

nfrolov 08-08-2008 02:12 PM

yep seem like it is off

>chkconfig --list mysqld
mysqld 0 : off 1 : off 2 : off 3 : off 4 : off 5 : off 6 : off


How could I make it on? I'm newbie in *nix

grepmasterd 08-08-2008 02:15 PM

'chkconfig mysqld on'

see 'man chkconfig' for more details

nfrolov 08-08-2008 02:18 PM

Yeahh! It works!
Thank you, thank you very much


All times are GMT -5. The time now is 03:00 PM.