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

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

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

①错误提示截图;

日志:

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 ~]#
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

【求助贴,请有以下信息】

①错误提示截图;

②操作系统版本;

③环境信息;

信息详细,秒速帮你处理

上班时间:周一至周六 9:00~18:30

如果紧急,官网后台提交付费工单解决

小黑屋|BT.cn  

© 2014-2018 bt.cn All Rights Reserved.   Powered by Discuz! X3.2

宝塔论坛正在使用宝塔Linux面板维护管理并由尊云(zun.com)提供云服务器支持

快速回复 返回顶部 返回列表