LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-08-2008, 02:01 PM   #1
nfrolov
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Question 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

Last edited by nfrolov; 08-08-2008 at 02:09 PM.
 
Old 08-08-2008, 02:05 PM   #2
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
run 'chkconfig --list mysqld' to see if it is configured to start up automatically
 
Old 08-08-2008, 02:12 PM   #3
nfrolov
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 08-08-2008, 02:15 PM   #4
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
'chkconfig mysqld on'

see 'man chkconfig' for more details
 
Old 08-08-2008, 02:18 PM   #5
nfrolov
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Yeahh! It works!
Thank you, thank you very much
 
  


Reply

Tags
chkconfig, mysql, mysqld



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
network doesn't start on reboot wayneddsn Linux - Networking 4 04-08-2006 06:52 AM
MySQL - Timeout error occurred trying to start MySQL Daemon. stuartornum Linux - Software 3 02-26-2006 12:54 PM
Xserver won't start after reboot amishdisco Linux - Software 11 12-29-2004 06:20 AM
MySql error 2002, Cannot start mysql djchris Linux - Software 5 04-13-2004 06:12 PM
X won't start after reboot kodiakmook Linux - General 3 12-21-2001 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:45 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