我正在尝试使用Mysql5.5.30-win32
。我安装了它并运行配置向导,并在最终页面上看到我的向导在尝试启动mysqld服务时挂起。
我尝试手动启动mysqld,然后说
InnoDB: Error: log file .\ib_logfile0 is of different size 0 54525952 bytes InnoDB: than specified in the .cnf file 0 115343360 bytes!". Then i tried changing the innodb_log_file_size in my.ini to 52M (==54525952) and start manually again
。
现在它启动了,但如果我运行配置向导,则面临同样的问题,配置向导会覆盖我的 my.ini 文件并更改 innodb_log_file_size 的值
如何解决这个问题?我尝试卸载mysql并完全删除mysql文件夹,但问题仍然存在。
此外,我无法在 mysql5.5 文件夹中的任何位置找到任何 ib_logfile0 。那么54525952的价值来自哪里?
答案 0 :(得分:1)
找到它。实际上ib_logfile0在C:\ Progsql seramData \ Mysql文件夹中可用,C:\ ProgramData是一个隐藏文件夹。删除ib_logfile *文件并配置mysql服务工作正常..