首页 > 数据库 > 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的日志作用比起oracle(至少它的不能随便删除)来,还是差一些.
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/197458/viewspace-1006900/ ,如需转载,请注明出处,否则将追究法律责任。