LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2011, 04:43 AM   #1
a4kata
Member
 
Registered: Aug 2009
Posts: 30

Rep: Reputation: 0
Mysql can't start


Mysql can't start after I uploaded my.cnf file in /etc directory before that everything was okay but after I uploaded my.cnf and then restarted the mysql it can't boot

Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

I tried to delete my.cnf and try again but the same error ...
 
Old 07-28-2011, 04:48 AM   #2
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Rep: Reputation: Disabled
it seems like; changes that you have made causing problems. Also deleting configuration files never solves any problem.

So you should create default cnf file, if you want to make mysql working
 
Old 07-28-2011, 05:00 AM   #3
a4kata
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 0
Where can I find the default file ? I tried with any my.cnf files from the net the problem is still not solved
 
Old 07-28-2011, 06:07 AM   #4
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Rep: Reputation: Disabled
What is your distro maybe i can help u
 
Old 07-28-2011, 09:48 AM   #5
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Rep: Reputation: 20
did you check the log file,
mysql log file:/var/log/mysqld.log (or whatever it is)
hope it helps
 
Old 07-28-2011, 08:25 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
We need to know what distro name/version and mysql version. Also, there should be messages in the logs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
After moving mysql db to NFS[netapp] unable to start mysql server throws error naveenrajn Linux - General 3 09-13-2010 03:20 AM
Problem changing mysql uid,gid: mysql start fails gjatute Linux - Newbie 7 02-25-2010 02:38 AM
MySQL won't start, and no /etc/init.d/mysql--my stdout and syslog after trying... ineloquucius Linux - Server 8 01-31-2010 12:24 PM
I have RHEL 5.0 and MySQL start problem, my MySQL server doesn't start rsatya Linux - Enterprise 4 02-03-2009 01:04 PM
MySQL - Timeout error occurred trying to start MySQL Daemon. stuartornum Linux - Software 3 02-26-2006 01:54 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration