首页 > 数据库技术 > 详细

InnoDB: The log sequence number in ibdata files does not match

时间:2015-09-04 14:10:31      阅读:943      评论:0      收藏:0      [点我收藏+]

InnoDB: The log sequence number in ibdata files does not match
InnoDB的:在ibdata文件的日志序列号不匹配

可能ibdata文件损坏了
解决办法如下:
在my.cny 的[mysqld]中加入

    # Size of each log file in a log group. You should set the combined size 
    # of log files to about 25%-100% of your buffer pool size to avoid 
    # unneeded buffer pool flush activity on log file overwrite. However, 
    # note that a larger logfile size will increase the time needed for the 
    # recovery process. 
    innodb_log_file_size=10M 
     
    # Number of threads allowed inside the InnoDB kernel. The optimal value 
    # depends highly on the application, hardware as well as the OS 
    # scheduler properties. A too high value may lead to thread thrashing. 

    innodb_thread_concurrency=8 
     
    innodb_force_recovery = 4 
     
    max_allowed_packet=16M 

InnoDB: The log sequence number in ibdata files does not match

原文:http://www.cnblogs.com/lbnnbs/p/4781562.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!