InnoDB: Error: log file ./ib_logfile0 is of different size 0_MySQL
程序员文章站
2024-01-16 17:31:22
...
启动WAMP Server的时候报如下的错误:
140618 23:12:32 [Note] Plugin 'FEDERATED' is disabled.140618 23:12:32 InnoDB: The InnoDB memory heap is disabled140618 23:12:32 InnoDB: Mutexes and rw_locks use Windows interlocked functions140618 23:12:32 InnoDB: Compressed tables use zlib 1.2.3140618 23:12:32 InnoDB: Initializing buffer pool, size = 128.0M140618 23:12:32 InnoDB: Completed initialization of buffer poolInnoDB: Error: log file ./ib_logfile0 is of different size 0 10485760 bytesInnoDB: 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: InnoDB140618 23:12:32 [ERROR] Aborting请注意这几行:
InnoDB: Error: log file ./ib_logfile0 is of different size 0 10485760 bytesInnoDB: than specified in the .cnf file 0 5242880 bytes!你可以计算一下10485760的大小,10485760/1024/1024=10,修改my.ini,
innodb_log_file_size = 10M要看mysql的日志,请进行如下操作:
上一篇: php实现文件下载和多文件上传
推荐阅读
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of diff_MySQL
-
mysql 有关“InnoDB Error ib_logfile0 of different size”错误_MySQL
-
mysql 有关“InnoDB Error ib_logfile0 of different size”错误
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
-
mysql 有关“InnoDB Error ib_logfile0 of different size”错误
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 by
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 by
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 by