【待反馈】MySQL隔一段时间就就自动停止了,这个是什么原因
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Linux正式版8.2.0系统版本:系统:CentOS 7
问题描述:MySQL隔一段时间就就自动停止了,
相关截图(日志、错误):InnoDB: Your database may be corrupt or you may have copied the InnoDBInnoDB: tablespace but not the InnoDB log files. SeeInnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.htmlInnoDB: for more information.2024-06-23 19:17:40 2b91cf813700 InnoDB: Error: page 24 log sequence number 18254526607InnoDB: is in the future! Current system log sequence number 14154042746.InnoDB: Your database may be corrupt or you may have copied the InnoDBInnoDB: tablespace but not the InnoDB log files. SeeInnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.htmlInnoDB: for more information.2024-06-23 19:18:51 2b91cf813700 InnoDB: Error: page 11 log sequence number 18063306463InnoDB: is in the future! Current system log sequence number 14154109559.InnoDB: Your database may be corrupt or you may have copied the InnoDBInnoDB: tablespace but not the InnoDB log files. SeeInnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.htmlInnoDB: for more information.2024-06-23 19:20:44 2b91cf813700 InnoDB: Error: page 3 log sequence number 16937472632InnoDB: is in the future! Current system log sequence number 14154123665.InnoDB: Your database may be corrupt or you may have copied the InnoDBInnoDB: tablespace but not the InnoDB log files. SeeInnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.htmlInnoDB: for more information.2024-06-23 19:22:46 2b91cf78f700 InnoDB: Error: page 3 log sequence number 16937472632InnoDB: is in the future! Current system log sequence number 14154145470.InnoDB: Your database may be corrupt or you may have copied the InnoDBInnoDB: tablespace but not the InnoDB log files. SeeInnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.htmlInnoDB: for more information.
您好,看起来您的 MySQL 数据库中的 InnoDB 表空间可能出现了一些问题。错误信息提示当前系统日志序列号已经过期,可能会导致数据库损坏
请做好备份或者快照
尝试可以在 MySQL 的配置文件中(通常是 my.cnf 或 my.ini)设置 innodb_force_recovery 参数来尝试以恢复模式启动 MySQL。这个参数的值可以从 1 到 6,每个值都有不同的恢复行为。您可以从小到大地尝试这些值,以查看是否可以启动数据库 运维技术阿闯 发表于 2024-6-24 11:59
您好,看起来您的 MySQL 数据库中的 InnoDB 表空间可能出现了一些问题。错误信息提示当前系统日志序列号已 ...
这个是怎么弄,在哪里找这个配置文件,有截图吗,一个新手不怎么会这些,最好有截图标识一下在那个地方找这些文件和修改的地方 宝塔用户_sugsau 发表于 2024-6-24 15:07
这个是怎么弄,在哪里找这个配置文件,有截图吗,一个新手不怎么会这些,最好有截图标识一下在那个地方找 ...
您好,请做好快照,然后find / -name "my.cnf"然后找到文件后,cd到这个文件,然后vi打开文件找到inoodb_force_recovery
页:
[1]