Starting MySQL... ERROR The server quit without updating PID file

Starting MySQL… ERROR! The server quit without updating PID file

Starting MySQL… ERROR! The server quit without updating PID file

Sometimes you may see this error in your server. But don’t panic, just rename or move away the /etc/my.cnf in your server, and try to restart the MySQLd again.

 

[[email protected]:~ ] $ service mysqld start
Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/server.pelayan.com.pid).
[[email protected]:~ ] $ mv /etc/my.cnf /etc/my.cnf.old
[[email protected]:~ ] $ service mysqld restart
Shutting down MySQL.... SUCCESS!
Starting MySQL.. SUCCESS!
[[email protected]:~ ] $



Starting MySQL... ERROR The server quit without updating PID file

Most of the time happen while upgrading MySQL version

Stopping mysqld ...
Shutting down MySQL.... SUCCESS!
Upgrading MySQL 5.0 to 5.5
Preparing...                ########################################### [100%]
   1:MySQL-shared           ########################################### [ 25%]
   2:MySQL-client           ########################################### [ 50%]
   3:MySQL-devel            ########################################### [ 75%]
   4:MySQL-server           ########################################### [100%]
Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/my                                 sql/server.pelayan.com.pid).

Tags: