Ubuntu 16.04启动/停止/重启MySQL数据库的三种方式

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

启动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

扫描二维码关注公众号,回复: 5830761 查看本文章

方式二:sudo service mysql restart

猜你喜欢

转载自blog.csdn.net/ChaoFeiLi/article/details/88633409