日期:2014-05-16  浏览次数:20765 次

MySQL 启动错误
在Centos中安装Mysql
启动时提示
Starting MySQL..The server quit without updating PID file.


查看mysql日志(本例是在:/var/log/mysql.log) 具体的日志文件位置可以通过启动命令查看,
但尚未看到是个哪个文件中指定了这个路径.

看到日志中出现:启动mysql出现错误:Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.

应该是mysql_install_db没有运行, 重新运行一次即可, 运行时可能需要指定basedir.