/etc/init.d/mysql?stop
?
/etc/init.d/mysql?start
?
/etc/init.d/mysql?restart
?
重启提示错误如下:
?
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start...
其实已经告诉怎么做了:用sudo service mysql start启动即可