在ubuntu中关闭mysql服务器的方法 方法一: sudo/etc/init.d/mysql restart 方法二: sudo stop mysql 方法三: sudo service mysql stop