在centos5.3下安装mysql5启动时报错

[root@nginx2 var]# /etc/init.d/mysql start

Starting MySQL..The server quit without updating PID file ([失败]ocal/mysql/data/nginx2.com.pid)

查看log

解决办法:

从新运行一下的命令,从新安装一下db

[root@nginx2 mysql]# scripts/mysql_install_db --user=mysql

你可能感兴趣的:(centos)