How to stop mysqld

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

    To stop MariaDB and MySQL server instance:

    sudo mysqladmin shutdown
    

    To start MariaDB and MySQL server instance:

    mysqld &
    

    To change data ownership for MariaDB and MySQL server instance:

    sudo chown -R 755 /usr/local/mariadb/data
    

提交回复
热议问题