InnoDB: Error: log file .ib_logfile0 is of different size 0 10485760 bytes
Posted jhcelue
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了InnoDB: Error: log file .ib_logfile0 is of different size 0 10485760 bytes相关的知识,希望对你有一定的参考价值。
启动WAMP Server的时候报例如以下的错误:
140618 23:12:32 [Note] Plugin 'FEDERATED' is disabled. 140618 23:12:32 InnoDB: The InnoDB memory heap is disabled 140618 23:12:32 InnoDB: Mutexes and rw_locks use Windows interlocked functions 140618 23:12:32 InnoDB: Compressed tables use zlib 1.2.3 140618 23:12:32 InnoDB: Initializing buffer pool, size = 128.0M 140618 23:12:32 InnoDB: Completed initialization of buffer pool InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes InnoDB: than specified in the .cnf file 0 5242880 bytes! 140618 23:12:32 [ERROR] Plugin 'InnoDB' init function returned error. 140618 23:12:32 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140618 23:12:32 [ERROR] Unknown/unsupported storage engine: InnoDB 140618 23:12:32 [ERROR] Aborting请注意这几行:
InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes InnoDB: than specified in the .cnf file 0 5242880 bytes!你能够计算一下10485760的大小,10485760/1024/1024=10,改动my.ini,
innodb_log_file_size = 10M要看mysql的日志,请进行例如以下操作:
以上是关于InnoDB: Error: log file .ib_logfile0 is of different size 0 10485760 bytes的主要内容,如果未能解决你的问题,请参考以下文章
CentOS7 mysql 连接不上 :[ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
故障处理[ERROR] InnoDB: File (unknown): 'read' returned OS error 0. Cannot continue operation
mysql 参数调优(2)之设置重做日志文件的大小 innodb_log_file_size
xtrabackup备份MySQL报错:InnoDB: Error number 24 means 'Too many open files'