MYSQL之Restarting mysql.server (via systemctl): mysql.server.serviceFailed

文章目录


背景

ocean@ubuntu:/usr/local/mysql$ /etc/init.d/mysql.server restart
[....] Restarting mysql.server (via systemctl): mysql.server.serviceFailed to restart mysql.server.service: Unit mysql.server.service not found.
 failed!
ocean@ubuntu:/usr/local/mysql$ /etc/init.d/mysql.server start
[....] Starting mysql.server (via systemctl): mysql.server.serviceFailed to start mysql.server.service: Unit mysql.server.service not found.

解决方法1:

ocean@ubuntu:/usr/local/mysql$ sudo ./support-files/mysql.server restart
Shutting down MySQL
... * 
Starting MySQL
. * 

方法2:

重启

你可能感兴趣的:(#,MySQL)