今天一个客户反馈Mysql数据库无法启动,具体如下: [root@testdb var]#service mysql startStarting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/mysql.pid).初看,好像是权限问题,但仔细检查权限,没有发现问题,所以进入错误日志看[root@testdb var]# more testdb.err2020-06-12T08:30:25.273479Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled2020-06-12T08:30:25.273850Z 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.7.26-log) starting as process 10090 ...2020-06-12T08:30:25.286777Z 0 [Note] InnoDB: PUNCH HOLE support available2020-06-12T08:30:25.286827Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins2020-06-12T08:30:25.286838Z 0 [Note] InnoDB: Uses event mutexes2020-06-12T08:30:25.286845Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier2020-06-12T08:30:25.286852Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.112020-06-12T08:30:25.286856Z 0 [Note] InnoDB: Using Linux native AIO2020-06-12T08:30:25.288765Z 0 [Note] InnoDB: Number of pools: 12020-06-12T08:30:25.288939Z 0 [Note] InnoDB: Using CPU crc32 instructions2020-06-12T08:30:25.291804Z 0 [Note] InnoDB: Initializing buffer pool, total size = 4G, instances = 8, chunk size = 128M2020-06-12T08:30:25.552835Z 0 [Note] InnoDB: Completed initialization of buffer pool2020-06-12T08:30:25.589770Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().2020-06-12T08:30:25.603855Z 0 [Note] InnoDB: Highest supported file format is Barracuda.2020-06-12T08:30:25.627920Z 0 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 3970243421 and the end 3970243072.2020-06-12T08:30:25.627962Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error2020-06-12T08:30:26.229118Z 0 [ERROR] Plugin 'InnoDB' init function returned error.2020-06-12T08:30:26.229160Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.2020-06-12T08:30:26.229168Z 0 [ERROR] Failed to initialize builtin plugins.2020-06-12T08:30:26.229172Z 0 [ERROR] Aborting查看日志,发现如下:InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 3970243421 and the end 3970243072.事务日志有断档,估计也找不出来了,基于此,只能把原来的事务日志ib_logfile0和ib_logfile1重命名或者删除掉,然后再重新启动[root@testdb var]#service mysql startStarting MySQL...SUCCESS!
mysql因为事务日志问题无法启动
来源:这里教程网
时间:2026-03-01 15:13:33
作者:
编辑推荐:
- mysql因为事务日志问题无法启动03-01
- 盘点MySQL、SqlServer、Oracle 三种数据库优缺点03-01
- mysql学习笔记03-01
- MySQL 的 crash-safe 原理解析03-01
- MySQL:关于ICP特性的说明(未完)03-01
- MySQL的分区(一)03-01
- MySQL的分区(二)03-01
- mysql change buffer小结03-01
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- 盘点MySQL、SqlServer、Oracle 三种数据库优缺点
盘点MySQL、SqlServer、Oracle 三种数据库优缺点
26-03-01 - MySQL 的 crash-safe 原理解析
MySQL 的 crash-safe 原理解析
26-03-01 - MySQL:关于ICP特性的说明(未完)
MySQL:关于ICP特性的说明(未完)
26-03-01 - mysql 错误 server has gone away
mysql 错误 server has gone away
26-03-01 - MySQL8.0新特性-临时表的改善
MySQL8.0新特性-临时表的改善
26-03-01 - 有哪些好用的文章一键分发软件?同时管理200+账号
有哪些好用的文章一键分发软件?同时管理200+账号
26-03-01 - MySQL分区表最佳实践
MySQL分区表最佳实践
26-03-01 - 自媒体一键同步分发平台的工具,30万人都在用这款!
自媒体一键同步分发平台的工具,30万人都在用这款!
26-03-01 - 一键分发工具哪个最好用?3年资深自媒体人推荐这个!
一键分发工具哪个最好用?3年资深自媒体人推荐这个!
26-03-01 - 哪个自媒体同步工具最好用?还能免费使用
哪个自媒体同步工具最好用?还能免费使用
26-03-01
