[Solved-5 Solutions] MySql server startup error 'The server quit without updating PID file '
Error Description:
On Snow Leopard, starting MySQL gives the following error:
The server quit without updating PID file
my.cnf
Solution 1:
try to find your log file with suffix ".err", there should be more info. It might be in:
It's probably problem with permissions
check if any mysql instance is running
if yes, you should stop it, or kill the process
where PID is the number displayed next to username on output of previous command
check ownership of /usr/local/var/mysql/
if it is owner by root you should change it mysql or your_user
Solution 2:
Set up databases to run AS YOUR USER ACCOUNT with:
To set up base tables in another folder, or use a different user to run mysqld, view the help for mysqld_install_db:
To run as, for instance, user "mysql", you may need to sudo:
Start mysqld manually with:
Solution 3:
Delete the error file and try again:
(dev.work is my hostname)
This works because dev.work.err is owned by _mysql:wheel instead of our own username. CHOWN-ing the error file would probably fix it as well.
Solution 4:
Try to fix by this:
Solution 5:
Check all of the MySQL processes running:
Then kill all the processes listed from the above command using the following:
Replace [PID] with the individual PID from the list above, e.g. 5970.
Do that for all of the lines you see with the first command.
Then you can startup your MySQL server again:Replace [PID] with the individual PID from the list above, e.g. 5970.
Do that for all of the lines you see with the first command.
Related Searches to MySql server startup error 'The server quit without updating PID file '
the server quit without updating pid file macthe server quit without updating pid file (/var/lib/mysql/error! the server quit without updating pid file (/usr/local/var/mysql/starting mysql. error the server quit without updating pid file centosmysqld_safe mysqld from pid filemysql server pid file could not be found!error! the server quit without updating pid file (/usr/local/mysql/data/mysql is not running, but lock file (/var/lock/subsys/mysql[failed]the server quit without updating pid file macthe server quit without updating pid file (/var/lib/mysql/mysql server pid file could not be found!mysqld_safe mysqld from pid filestarting mysql. error the server quit without updating pid file centosstarting mysql error the server quit without updating pid file (/ var lib mysql host mzones in pid