LoginSignup
211
174

More than 5 years have passed since last update.

mysql起動で「The server quit without updating PID file」

Last updated at Posted at 2015-12-21

brew再セットアップしていたらmysqlが起動しなくなった・・・orz

$sudo mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/xxxxx.local.pid).

権限がなくて落ちているらしい情報を見つけたので、権限を正しく直す。
以下参考サイト。感謝
参考

$sudo chown -R _mysql:_mysql /usr/local/var/mysql

そして起動

$sudo mysql.server start
Starting MySQL
. SUCCESS! 

起動できた!

修正

2016/05/16 sudo 追加

211
174
10

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
211
174