MySQL ERROR! The server quit without updating PID file

janac
2 min readMay 7, 2020

I installed MySQL using brew. Suddenly, after running mysql.start I get the following error:

jmeena@Js-MacBook-Pro /usr/local/var % mysql.server startStarting MySQL
.. ERROR! The server quit without updating PID file (/usr/local/var/mysql/Js-MacBook-Pro.local.pid).

In the logs, I would see:

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock

Solution 1: Change ownership of the MySQL folder

--

--

janac

Most of my writing is about software. I enjoy summarizing and analyzing books and self-help videos. I am senior software consultant at LazerTechnologies.com.