The server quit without updating PID:Mysql-5-.6.0 server

queries on Database configuration in Linux
Forum rules
queries on Database configuration in Linux

The server quit without updating PID:Mysql-5-.6.0 server

Postby dani_kurian » Mon Feb 23, 2015 10:20 am

Hello,

I have configured Mysql-5.6.0., but when i start service of mysql I get the below mentioned error. Please help me to resolve the issue.

[root@skil ~]# service mysql start
Starting MySQL...The server quit without updating PID file [FAILED]b/Mysql-5.6.0/mysql.pid).
:oops: :oops: :oops: :oops: :oops: :oops:
dani_kurian
 
Posts: 0
Joined: Mon Feb 23, 2015 10:02 am

Re: The server quit without updating PID:Mysql-5-.6.0 server

Postby rameez » Mon Feb 23, 2015 11:26 am

There seems to be lots of solutions about how to fix this. Try these, to resolve your issue.

The mysql.socket is no longer visible in /tmp eventhough mysql thinks it is. The .pid file in the mysql data folder is gone and mysql just wont behave without it.

So possible solutions are, first up try a straight restart:

/usr/local/mysql/support-files/mysql.server restart
If that doesn’t fix

Remove /etc/my.cnf or just back it up for now and restart:

sudo mv /etc/my.cnf /etc/my.cnf.bak
Another solution is remove any .err files in the data folder or create missing .pid ones that the error message warns:

anderson@[/usr/local/mysql/data]: sudo /usr/local/mysql/support-files/mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/mysql/data/mysql.pid).
So you could remove the .err files like so:

rm *.err /usr/local/mysql/data/

Another Solution:
Reduce the value of buffer pool size of mysql to 10mb and restart mysql


That's it ...Thanks
rameez
 
Posts: 0
Joined: Tue Nov 25, 2014 5:17 pm


Return to Database configuration in Linux

Login  •  Register

cron