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

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

    You just need to create the user mysql (mysql installation script creates _mysql)

    sudo vipw

    duplicate line that contains _mysql

    Change for the duplicated line _mysql to mysql

    sudo /usr/local/mysql/support-files/mysql.server start
    Starting MySQL
    .. SUCCESS!
    

提交回复
热议问题