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

移动的云主机,安装好宝塔后mysql无法启动

发表在 Linux面板2018-3-13 15:24 [复制链接] 5 2881

①错误提示截图;

日志:

180313 15:18:41 [Note] Plugin 'FEDERATED' is disabled.

/www/server/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist

180313 15:18:41 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

180313 15:18:41 InnoDB: The InnoDB memory heap is disabled

180313 15:18:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins

180313 15:18:41 InnoDB: Compressed tables use zlib 1.2.3

180313 15:18:41 InnoDB: Using Linux native AIO

180313 15:18:41 InnoDB: Initializing buffer pool, size = 512.0M

180313 15:18:41 InnoDB: Completed initialization of buffer pool

180313 15:18:41  InnoDB: Operating system error number 13 in a file operation.

InnoDB: The error means mysqld does not have the access rights to

InnoDB: the directory.

InnoDB: File name /www/server/data/ibdata1

InnoDB: File operation call: 'create'.

InnoDB: Cannot continue operation.



②操作系统版本;CentOS 6.5 64bit



③环境信息;Apache 2.4


使用道具 举报 只看该作者 回复
发表于 2018-3-13 15:55:12 | 显示全部楼层
[root@yananxumu ~]# wget -O sql-repair.sh http://download.bt.cn/install/sql-repair.sh && sh sql-repair.sh
--2018-03-13 15:51:45--  http://download.bt.cn/install/sql-repair.sh
正在解析主机 download.bt.cn... 103.224.251.67
正在连接 download.bt.cn|103.224.251.67|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:19399 (19K) [application/octet-stream]
正在保存至: “sql-repair.sh”

100%[======================================>] 19,399      --.-K/s   in 0.05s   

2018-03-13 15:51:51 (390 KB/s) - 已保存 “sql-repair.sh” [19399/19399])

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/yananxumu.pid).
==========================================================================================
180313 15:18:41 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
180313 15:41:03 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
180313 15:51:51 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
==========================================================================================
mysql start error.
mysql无法正常启动,请将以上错误信息截图发至论坛寻求帮助
[root@yananxumu ~]#
使用道具 举报 回复 支持 反对
发表于 2018-10-26 11:01:41 | 显示全部楼层
遇到了一样的问题,我在平安云遇到的。
使用道具 举报 回复 支持 反对
发表于 2018-11-3 23:23:09 | 显示全部楼层
hxuf520 发表于 2018-10-26 11:01
遇到了一样的问题,我在平安云遇到的。

我也一样,不知道你解决没有
使用道具 举报 回复 支持 反对
发表于 2018-11-14 09:03:56 | 显示全部楼层
神韵科技工作室 发表于 2018-11-3 23:23
我也一样,不知道你解决没有

最后我DD了 全新UBUNTU解决了
使用道具 举报 回复 支持 反对
发表于 2020-5-26 09:21:01 | 显示全部楼层
移动云都是这个坑,默认都是mariadb,好像缺少什么组件,要手动装,最后我没用宝塔面板,我手动安装才好,垃圾的要命
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

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

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

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

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