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

后端 未结 18 2149
南方客
南方客 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:22

    I usually start mysql server by typing

    $ mysql.server start
    

    without sudo. But in error I type sudo before the command. Now I have to remove the error file to start the server.

    $ sudo rm /usr/local/var/mysql/`hostname`.err
    

提交回复
热议问题