Help us understand the problem. What is going on with this article?

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

More than 3 years have passed since last update.

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

mogetarou
ひっそり書いてます。とてもめんどくさがりーです。 メモ的に書いていたので過去の記事そのうちきれいにしていきます。
whizzy
デザイン、フロントエンド開発、バックエンド開発、アプリ開発からビッグデータの解析まで対応可能な企業です。
http://www.whizzy.co.jp
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
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  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
ユーザーは見つかりませんでした