GreatSQL社区

搜索

chongzh

MySQL 报 Table is read only,Failed to find tablespace for table

热度 1chongzh 已有 2084 次阅读2024-7-4 08:32 |个人分类:Mysql 原理|系统分类:运维实战

insert 业务表报Table xxx is read only,error log 大量报错 [ERROR] InnoDB: Failed to find tablespace for table '"xxx.xx"' in the cache. Attempting to load the tablespace with space id x.


问题解决

查看my.cnf配置文件,发现数据库运行在innodb_force_recovery=4模式。

调整innodb_force_recovery=0参数后,重启数据库相关表insert成功,错误日志报错消失。

发表评论 评论 (1 个评论)

回复 reddey 2024-7-4 10:02
感谢你案例分享

facelist

您需要登录后才可以评论 登录 | 立即注册

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-10-18 11:49 , Processed in 0.016425 second(s), 11 queries , Redis On.
返回顶部