How to stop mysqld

前端 未结 18 895
清酒与你
清酒与你 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:30

    /etc/init.d/mysql stop
    service mysql stop
    killall -KILL mysql mysqld_safe mysqld
    
    When you see the following information, you success
    
    mysql: no process found
    mysqld_safe: no process found
    mysqld: no process found
    

    I use this to solve the installation problem of MySQL 5.6 in Ubuntu 15.10 using this link.

    During this installation, I encounter the problem saying:

    "mysqld_safe A mysqld process already exists"
    

    Just completely stop the mysqld, mysqld_safe, mysql solves the problem.

提交回复
热议问题