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.

猜你喜欢

转载自liaoco.iteye.com/blog/1489720
今日推荐