首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

MySQL 启动异常

2012-07-18 
MySQL 启动错误在Centos中安装Mysql启动时提示Starting MySQL..The server quit without updating PID fil

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.

热点排行