nnoDB: The innodb_system data file 'ibdata1' must be writable

斯赛 2020-08-06 11:29:10
前段时间出现这个问题,一直解决不了,只要全库删了,然后初始化了数据库,然后今天一重启又这样了。
不知道哪里的问题


2020-08-06T15:26:05.427648Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-06T15:26:05.446744Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-08-06T15:26:05.447132Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-08-06T15:26:05.448066Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-08-06T15:26:05.651754Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-08-06T15:26:05.652184Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-08-06T15:26:05.653594Z 0 [ERROR] Failed to initialize builtin plugins.
2020-08-06T15:26:05.655147Z 0 [ERROR] Aborting

2020-08-06T15:26:05.655589Z 0 [Note] Binlog end
2020-08-06T15:26:05.656485Z 0 [Note] Shutting down plugin 'CSV'
2020-08-06T15:26:05.657517Z 0 [Note] mysqld: Shutdown complete

...全文
1228 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
这个ibdata1 文件的权限问题
lhdz_bj 2020-08-19
  • 打赏
  • 举报
回复
引用 2 楼 lhdz_bj 的回复:
[quote=引用 楼主 4color 的回复:]前段时间出现这个问题,一直解决不了,只要全库删了,然后初始化了数据库,然后今天一重启又这样了。
不知道哪里的问题


2020-08-06T15:26:05.427648Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-06T15:26:05.446744Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-08-06T15:26:05.447132Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-08-06T15:26:05.448066Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-08-06T15:26:05.651754Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-08-06T15:26:05.652184Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-08-06T15:26:05.653594Z 0 [ERROR] Failed to initialize builtin plugins.
2020-08-06T15:26:05.655147Z 0 [ERROR] Aborting

2020-08-06T15:26:05.655589Z 0 [Note] Binlog end
2020-08-06T15:26:05.656485Z 0 [Note] Shutting down plugin 'CSV'
2020-08-06T15:26:05.657517Z 0 [Note] mysqld: Shutdown complete



看看数据目录的权限,mysql用户是否有些权限。[/quote]
写权限。
lhdz_bj 2020-08-19
  • 打赏
  • 举报
回复
引用 楼主 4color 的回复:
前段时间出现这个问题,一直解决不了,只要全库删了,然后初始化了数据库,然后今天一重启又这样了。
不知道哪里的问题


2020-08-06T15:26:05.427648Z 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-06T15:26:05.446744Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-08-06T15:26:05.447132Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-08-06T15:26:05.448066Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-08-06T15:26:05.651754Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-08-06T15:26:05.652184Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-08-06T15:26:05.653594Z 0 [ERROR] Failed to initialize builtin plugins.
2020-08-06T15:26:05.655147Z 0 [ERROR] Aborting

2020-08-06T15:26:05.655589Z 0 [Note] Binlog end
2020-08-06T15:26:05.656485Z 0 [Note] Shutting down plugin 'CSV'
2020-08-06T15:26:05.657517Z 0 [Note] mysqld: Shutdown complete



看看数据目录的权限,mysql用户是否有些权限。
尐千叶 2020-08-07
  • 打赏
  • 举报
回复
感觉是文件权限问题,你去修改下权限
sunbusiness 2021-11-23
  • 举报
回复
@尐千叶 怎么修改权限

56,679

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧