macOS The server quit without updating PID file (/usr/local/var/mysql/XXX.local.pid)
1629 ワード
参照先:https://stackoverflow.com/a/18405032
状況
解決する
状況
➜ ~ sudo /usr/local/Cellar/mysql/5.7.15/support-files/mysql.server restart [2:36:54]
ERROR! MySQL server PID file could not be found!
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/XXX.local.pid).
解決する
➜ /usr/local/var/mysql sudo chown -R _mysql /usr/local/var/mysql
➜ /usr/local/var/mysql sudo /usr/local/Cellar/mysql/5.7.15/support-files/mysql.server restart
ERROR! MySQL server PID file could not be found!
Starting MySQL
. SUCCESS!