InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
生活随笔
收集整理的這篇文章主要介紹了
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的日志,請進行例如以下操作:轉載于:https://www.cnblogs.com/jhcelue/p/7135713.html
總結
以上是生活随笔為你收集整理的InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 让人头疼的关键用户
- 下一篇: 常用SQL语句和HQL语句写法