LoginSignup
0
0

More than 1 year has passed since last update.

MySQL The server quit without updating PID file

Posted at

内容

MySQLを立ち上げようと思ったら以下に遭遇

$ mysql.server start --skip-grant-tables
Starting MySQL
.. ERROR! The server quit without updating PID file (/opt/homebrew/var/mysql/*****.local.pid).

対処法

/opt/homebrew/var/mysql/*****.local.pidを追加する方法
grepで検索して動いているプロセスをkillする方法

上記では上手く行かず、
幸い、MySQLにデータをとくに入れていなかったため、
/opt/homebrew/var/mysqlのフォルダを削除し再インストールを実行すると問題解決

$ mysql.server start --skip-grant-tables
Starting MySQL
. SUCCESS! 

$ mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
0
0
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
0
0