Search code examples
mysqlmacosterminalpidosx-elcapitan

ERROR! The server quit without updating PID file on El captian


I have problem mysql starting, i was update to El captian on mac.

In terminal,

brew install mysql

mysql.server start

but it not working this is error message.

 Starting MySQL... ERROR! The server quit without updating PID file(/usr/local/var/mysql/Heo-MacBook-Pro.local.pid).

help me please!


Solution

  • Try this first:

    /usr/local/var/mysql/support-files/mysql.server restart
    

    If that doesn’t fix Remove or backup the /etc/my.cnf


    also try this method:

    sudo /usr/local/var/mysql/support-files/mysql.server start
    Starting MySQL
    . ERROR! ....................
    

    remove the .err files like so:

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