在重新启动服务器之后,除了"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 '/v
更新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
[mysqld_safe]的意义是什么?[mysqld]不是已经启动MySQL了吗?为什么日志错误和pid文件设置在它之后?[mysqld]# If you need torun mysqld under different user or group,
# customize your systemd unit file for mysq