mysql8.0 Starting MySQL...The server quit without updating PID file [FAILED]ysql/mysq

http://www.mamicode.com/info-detail-2497385.html

https://www.cnblogs.com/jiathis/p/12160532.html

按博客设置密码,重启后出现错误!!!

Starting MySQL...The server quit without updating PID file [FAILED]ysql/mysq

mysql8.0  Starting MySQL...The server quit without updating PID file [FAILED]ysql/mysq

解决方法:查看日志文件

先找到日志文件存放地方

查找文件路径
find / -name mysql-error.log

查看日志文件:

more /data/mysql/mysql-error.log

mysql8.0  Starting MySQL...The server quit without updating PID file [FAILED]ysql/mysq

找到错误情况

mysql8.0  Starting MySQL...The server quit without updating PID file [FAILED]ysql/mysq

发现编辑my.cnf时候少输入了一个字母s,用vim编辑器修改好之后保存退出。:wq命令

再重新启动mysql就可以了!!!!!

 

mysql8.0 Starting MySQL...The server quit without updating PID file [FAILED]ysql/mysq

上一篇:MySQL数据库之数据类型


下一篇:JS浏览器全屏