启动mysql:

方式一:sudo /etc/init.d/mysql start

方式二:sudo service mysql start

 

停止mysql:

方式一:sudo /etc/init.d/mysql stop

方式二:sudo service mysql stop

 

 

重启mysql:

方式一:sudo/etc/init.d/mysql restart

方式二:sudo service mysql restart

 

参考:https://www.cnblogs.com/nyist-xsk/p/7930035.html

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-12-06
  • 2021-12-27
  • 2021-12-18
  • 2021-06-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-07-09
  • 2021-07-08
  • 2022-12-23
相关资源
相似解决方案