当前位置:Gxlcms > 数据库问题 > mysql启动报错 The server quit without updating PID file

mysql启动报错 The server quit without updating PID file

时间:2021-07-01 10:21:17 帮助过:4人阅读

[root@uz6542 data]# /etc/init.d/mysqld start
Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/data/uz6542.pid).

 

解决方法:初始化mysql

/usr/local/mysql/scripts/mysql_install_db --user=mysql --datadir=/usr/local/mysql/data --basedir=/usr/local/mysql

 

还是报错,经查发现my.cnf配置slow日志查询文件处发生错误,修改后启动正常。

mysql启动报错 The server quit without updating PID file

标签:

人气教程排行