178
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

Organization

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

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 追加

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
178
Help us understand the problem. What are the problem?