Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PID error on mysql.server start?

I've just tried installing MySQL using homebrew (on Mac OS X 10.6), but I've run across an issue at the first hurdle. When trying to manually start the server (mysql.server start), I get the following error:

. ERROR! Manager of pid-file quit without updating file. 

Unfortunately I'm not sure of which error logs or configuration files to check, as I've never installed MySQL in this way before.

like image 549
joecritch Avatar asked Dec 14 '10 22:12

joecritch


People also ask

What is PID in MySQL?

The MySQL PID file is a process identification file that stores the Process ID number of the running MySQL instance. Each time you issue a command to mysql. server , MySQL would look for the PID file to find the Process ID and forward the command to the right process number.

Can't connect to local MySQL server through?

normally means that there is no MySQL server running on the system or that you are using an incorrect Unix socket file name or TCP/IP port number when trying to connect to the server. You should also check that the TCP/IP port you are using has not been blocked by a firewall or port blocking service.


1 Answers

I ran into this same problem when installing via homebrew. Make sure you run these commands (which are listed during install but easy to miss):

unset TMPDIR mysql_install_db 
like image 177
Mike Hornblade Avatar answered Sep 18 '22 22:09

Mike Hornblade