How to stop mysqld

前端 未结 18 928
清酒与你
清酒与你 2020-12-04 04:32

To find out the start command for mysqld (using a mac) I can do:

ps aux|grep mysql

I get the following output, which allows me to start mys

18条回答
  •  猫巷女王i
    2020-12-04 05:35

    For mysql 5.7 downloaded from binary file onto MacOS:

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

提交回复
热议问题