zoukankan      html  css  js  c++  java
  • InnoDB: Error: log file .ib_logfile0 is of different size 0 10485760 bytes

    启动WAMP Server的时候报例如以下的错误:

    140618 23:12:32 [Note] Plugin 'FEDERATED' is disabled.
    140618 23:12:32 InnoDB: The InnoDB memory heap is disabled
    140618 23:12:32 InnoDB: Mutexes and rw_locks use Windows interlocked functions
    140618 23:12:32 InnoDB: Compressed tables use zlib 1.2.3
    140618 23:12:32 InnoDB: Initializing buffer pool, size = 128.0M
    140618 23:12:32 InnoDB: Completed initialization of buffer pool
    InnoDB: Error: log file .ib_logfile0 is of different size 0 10485760 bytes
    InnoDB: than specified in the .cnf file 0 5242880 bytes!
    140618 23:12:32 [ERROR] Plugin 'InnoDB' init function returned error.
    140618 23:12:32 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    140618 23:12:32 [ERROR] Unknown/unsupported storage engine: InnoDB
    140618 23:12:32 [ERROR] Aborting
    请注意这几行:

    InnoDB: Error: log file .ib_logfile0 is of different size 0 10485760 bytes
    InnoDB: than specified in the .cnf file 0 5242880 bytes!
    你能够计算一下10485760的大小,10485760/1024/1024=10,改动my.ini,

    innodb_log_file_size = 10M
    要看mysql的日志,请进行例如以下操作:



  • 相关阅读:
    less中遇到的一些特殊的写法
    观察者模式
    发布订阅模式
    javascript中的函数
    关于js中this的理解和作用
    [Oracle]Oracle镜像安装及使用教程
    log4net日志配置
    过滤器
    .net core 处理 中文乱码
    Fromform
  • 原文地址:https://www.cnblogs.com/jhcelue/p/7135713.html
Copyright © 2011-2022 走看看