启动mysql:
sue@suepc:/$ whereis mysql
mysql: /usr/bin/mysql /etc/mysql /usr/lib/mysql /usr/bin/X11/mysql /usr/include/mysql /usr/local/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
1.
sue@suepc:/$ sudo /usr/bin/service mysql start
..
* MySQL Community Server 5.7.19 is started
sue@suepc:/$ sudo /etc/init.d/mysql stop
...
* MySQL Community Server 5.7.19 is stopped
2.
sue@suepc:/$ sudo /etc/init.d/mysql start
..
* MySQL Community Server 5.7.19 is started
sue@suepc:/$
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:mysql 启动,停止,重启 - Python技术站