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

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

    Execute the following commands from command line...

    sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
    
    sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
    

    and then start the mysql server using

    sudo /usr/local/mysql/support-files/mysql.server start
    

提交回复
热议问题