在重新启动服务器之后,除了"mysql“之外,一切都正常启动,我尝试手动启动"/etc/init.d/mysql restart”,或者使用"service mysql restart“启动它,它失败了localhost /etc/init.d/mysql[18136]: error: 'Can't connect to local MySQL server through socket
更新sudo service mysql stopsudo mysqld_safe --skip-grant-tables2018-06-27T06:24:15.801227Z mysqld_safe Logging to '/var/log/mysql/error.log'.
2018-06-27T06:24:15.802880Z mysqld_safeDirectory '/var/run
在重新启动服务器之后,除了"mysql“之外,一切都正常启动,我尝试手动启动"/etc/init.d/mysql restart”,或者使用"service mysql restart“启动它,它失败了localhost /etc/init.d/mysql[18136]: error: 'Can't connect to local MySQL server through socket