How to stop mysqld

前端 未结 18 924
清酒与你
清酒与你 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条回答
  •  执念已碎
    2020-12-04 05:20

    There is an alternative way of just killing the daemon process by calling

    kill -TERM PID
    

    where PID is the value stored in the file mysqld.pid or the mysqld process id which can be obtained by issuing the command ps -a | grep mysqld.

提交回复
热议问题