MySQL does not start when upgrading OSX to Yosemite or El Capitan

后端 未结 18 2190
南方客
南方客 2020-12-04 09:59

I know similar questions exist, such as MySQL with MAMP does not work with OSX Yosemite 10.10. However, I do have MAMP, nor XAMPP installed on my computer.

When I tr

18条回答
  •  甜味超标
    2020-12-04 10:14

    My Mac decided to restart itself randomly; causing a whole slew of errors. One of which, was mysql refusing to start up properly. I went through many SO questions/answers as well as other sites.

    Ultimately what ended up resolving MY issue was this:

    1) Creating the file (/usr/local/mysql/data/.local.pid

    2) chmod 777 on that file

    3) executing mysql.server start (mine was located in/usr/local/bin/mysql.server)

提交回复
热议问题