首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

Mysql起动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 by

2013-06-26 
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 by对于使用了默认 m

Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 by

对于使用了默认 my.cnf(一般教程都会教你使用support-files/my-medium.cnf)的Mysql服务来说
如果中间使用了innodb的话,innodb默认的log file大小是56M

在错误日志里你会看到如下输出:
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes

?

只需要修改log_file_size 即可:
innodb_log_file_size???????????? = 512M? #256M

热点排行