当前位置:论坛首页 > Linux面板 > 求助

安装mysql都无法启动

发表在 Linux面板2017-11-3 01:01 [复制链接] 3 1975

ERROR! MySQL server PID file could not be found!
mv: 无法获取"/www/server/data/ib_*" 的文件状态(stat): 没有那个文件或目录
Starting MySQL. ERROR! The server quit without updating PID file (/www/server/data/host-192-168-0-9.pid).
==========================================================================================
171102 23:27:33 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
171102 23:27:35 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
171102 23:27:44 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
171102 23:36:21 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
171102 23:38:45 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
171102 23:43:44 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
==========================================================================================
mysql start error.
mysql无法正常启动,请将以上错误信息截图发至论坛寻求帮助

使用道具 举报 只看该作者 回复
发表于 2017-11-3 09:35:41 | 显示全部楼层
进入ssh 输入以下命令
mysql_upgrade -uroot -proot

把-p后面红色的root替换成mysql的root密码
使用道具 举报 回复 支持 反对
发表于 2017-11-3 13:09:05 | 显示全部楼层
河妖 发表于 2017-11-3 09:35
进入ssh 输入以下命令
mysql_upgrade -uroot -proot

bash: mysql_upgrade: 未找到命令
使用道具 举报 回复 支持 反对
发表于 2017-11-3 14:29:29 | 显示全部楼层
/www/server/mysql/bin/mysql_upgrade -uroot -proot
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表