LoginSignup
1
1

More than 5 years have passed since last update.

ERROR! The server quit without updating PID file → /usr/local/var/mysql/hogehoge.pidを消してmysql起動

Posted at

まず、おなじみのCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2)が出現。

mysqlが起動できなくなった(Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))

↑を参考にしたら、エラー内容が変化。

$ mysql -u root

の結果、ERROR! The server quit without updating PID file (/usr/local/var/mysql/hogehoge.pid).というエラーが出るように。

updatingに失敗してるとのことなので、

$ rm /usr/local/var/mysql/hogehoge.pid

すると、

$ mysql.server start
Starting MySQL
. SUCCESS!

参考までに。各自、自己責任でお願いします。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1