首页 > 代码库 > InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
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的日志,请进行如下操作:
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。