mysql中怎么修改日志参数-创新互联

这期内容当中小编将会给大家带来有关mysql中怎么修改日志参数,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。

南岗网站建设公司成都创新互联公司,南岗网站设计制作,有大型网站制作公司丰富经验。已为南岗上千余家提供企业网站建设服务。企业网站搭建\成都外贸网站建设要多少钱,请找那个售后服务好的南岗做网站的公司定做!

mysql,修改了配置文件,增加了日志文件的参数innodb_log_file_size

大小.

结果,在每次启动数据时,报:

InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 52428800 bytes!

结果,直接关闭数据库,删除这两个日志文件,系统就正常了.日志如下:

080707 14:23:02  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 50 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!

上述就是小编为大家分享的mysql中怎么修改日志参数了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注创新互联-成都网站建设公司行业资讯频道。


分享标题:mysql中怎么修改日志参数-创新互联
当前URL:http://ybzwz.com/article/dseigc.html