【mysql错误】全量+增量数据校验后数据库启动报错
来源:SegmentFault
时间:2023-02-16 15:24:44 456浏览 收藏
数据库小白一枚,正在不断学习积累知识,现将学习到的知识记录一下,也是将我的所得分享给大家!而今天这篇文章《【mysql错误】全量+增量数据校验后数据库启动报错》带大家来了解一下【mysql错误】全量+增量数据校验后数据库启动报错,希望对大家的知识积累有所帮助,从而弥补自己的不足,助力实战开发!
场景:
全量+增量数据校验后,数据库启动日志报如下错误:
(此时MySQL可以启动成功,也存在mysql进程,进入mysql查询数据可查到。重启的时候错误日志中还是会报同样的错误)
170802 21:29:31 mysqld_safe Starting mysqld daemon with databases from /data/mariadb 2017-08-02 21:29:31 139871796967424 [Note] /usr/mariadb/bin/mysqld (mysqld 10.1.24-MariaDB) starting as process 147923 ... 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: Using mutexes to ref count buffer pool pages 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: The InnoDB memory heap is disabled 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: Compressed tables use zlib 1.2.3 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: Using Linux native AIO 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: Using SSE crc32 instructions 2017-08-02 21:29:31 139871796967424 [Note] InnoDB: Initializing buffer pool, size = 40.0G 2017-08-02 21:29:32 139871796967424 [Note] InnoDB: Completed initialization of buffer pool 2017-08-02 21:29:32 139871796967424 [Note] InnoDB: Highest supported file format is Barracuda. 2017-08-02 21:29:32 139871796967424 [Warning] InnoDB: The log sequence number in the ibdata files is higher than the log sequence number in the ib_logfiles! Are you sure you are using the right ib_logfiles to start up the database. Log sequence number in the ib_logfiles is 1086530931761, logsequence numbers stamped to ibdata file header s are between 1087224890870 and 1087224890870. 2017-08-02 21:29:32 139871796967424 [Note] InnoDB: The log sequence numbers 1087224890870 and 1087224890870 in ibdata files do not match the log sequence number 10865309 31761 in the ib_logfiles! 2017-08-02 21:29:32 139871796967424 [Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer... 2017-08-02 21:29:32 7f3670c5b800 InnoDB: Error: page 2 log sequence number 1087224745356 InnoDB: is in the future! Current system log sequence number 1086530931761. InnoDB: Your database may be corrupt or you may have copied the InnoDB InnoDB: tablespace but not the InnoDB log files. See InnoDB: https://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: for more information. 2017-08-02 21:29:32 7f3670c5b800 InnoDB: Error: page 4 log sequence number 1087224626082 InnoDB: is in the future! Current system log sequence number 1086530931761. InnoDB: Your database may be corrupt or you may have copied the InnoDB InnoDB: tablespace but not the InnoDB log files. See InnoDB: https://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html InnoDB: for more information. 2017-08-02 21:29:32 139871796967424 [Note] Server socket created on IP: '0.0.0.0'. 2017-08-02 21:29:32 139871796967424 [Note] /usr/mariadb/bin/mysqld: ready for connections. Version: '10.1.24-MariaDB' socket: '/tmp/mysql.sock' port: 3306 MariaDB Server
原因:
以上就是本文的全部内容了,是否有顺利帮助你解决问题?若是能给你带来学习上的帮助,请大家多多支持golang学习网!更多关于数据库的相关知识,也可关注golang学习网公众号。
声明:本文转载于:SegmentFault 如有侵犯,请联系study_golang@163.com删除
相关阅读
更多>
-
499 收藏
-
244 收藏
-
235 收藏
-
157 收藏
-
101 收藏
最新阅读
更多>
-
148 收藏
-
229 收藏
-
407 收藏
-
256 收藏
-
389 收藏
-
365 收藏
课程推荐
更多>
-
- 前端进阶之JavaScript设计模式
- 设计模式是开发人员在软件开发过程中面临一般问题时的解决方案,代表了最佳的实践。本课程的主打内容包括JS常见设计模式以及具体应用场景,打造一站式知识长龙服务,适合有JS基础的同学学习。
- 立即学习 542次学习
-
- GO语言核心编程课程
- 本课程采用真实案例,全面具体可落地,从理论到实践,一步一步将GO核心编程技术、编程思想、底层实现融会贯通,使学习者贴近时代脉搏,做IT互联网时代的弄潮儿。
- 立即学习 507次学习
-
- 简单聊聊mysql8与网络通信
- 如有问题加微信:Le-studyg;在课程中,我们将首先介绍MySQL8的新特性,包括性能优化、安全增强、新数据类型等,帮助学生快速熟悉MySQL8的最新功能。接着,我们将深入解析MySQL的网络通信机制,包括协议、连接管理、数据传输等,让
- 立即学习 497次学习
-
- JavaScript正则表达式基础与实战
- 在任何一门编程语言中,正则表达式,都是一项重要的知识,它提供了高效的字符串匹配与捕获机制,可以极大的简化程序设计。
- 立即学习 487次学习
-
- 从零制作响应式网站—Grid布局
- 本系列教程将展示从零制作一个假想的网络科技公司官网,分为导航,轮播,关于我们,成功案例,服务流程,团队介绍,数据部分,公司动态,底部信息等内容区块。网站整体采用CSSGrid布局,支持响应式,有流畅过渡和展现动画。
- 立即学习 484次学习