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

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

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

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:

Ads