Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa SQL MySQL server PID file could not be found! [FAILED]
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
MySQL server PID file could not be found! [FAILED]
1 Answer(s)      a year ago
Posted in : SQL


MySQL server PID file could not be found! [FAILED]


Advertisement
View Answers

December 26, 2013 at 5:39 PM


MySQL server PID file could not be found! [FAILED] or service mysql restart. These types of server failure errors occurs, when my.cnf file is not perfectly defined. In that case you can have following types of errors:

  • MySQL server PID file could not be found! [FAILED]
  • Starting MySQL. The server quit without updating PID file (/var/lib/mysql/xxxxxx.pid).

Now, as we have identified the cause of error, we will have to locate the ' my.cnf ' file by using the following command.

locate *.cnf

and create my.cnf as given below.

cp /usr/share/mysql/my-small.cnf /etc/my.cnf

Here is the cPanel Mysql upgradation tutorial



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com