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.

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

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).
Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: