【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: http://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: http://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

原因:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值