- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業(yè)務(wù)經(jīng)營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯(lián)網(wǎng)協(xié)會理事單位
- 安全聯(lián)盟認證網(wǎng)站身份V標記
- 域名注冊服務(wù)機構(gòu)許可:滇D3-20230001
- 代理域名注冊服務(wù)機構(gòu):新網(wǎng)數(shù)碼
MySQL Plugin 'InnoDB' init function returned error.
. . 在MySQL的配置文件中,設(shè)定default-table-type=InnoDB,發(fā)現(xiàn)MySQL無法正常的啟動,錯誤日志中給出了如下的信息:
引用
00703 09:28:53 mysqld_safe Starting mysqld daemon with databases from /root/sandboxes/spider_main/data
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 134217728 bytes!
100703 9:28:54 [ERROR] Plugin 'InnoDB' init function returned error.
100703 9:28:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
100703 9:28:54 [Note] Found 1 prepared transaction(s) in SPIDER
100703 9:28:54 [Warning] Found 1 prepared XA transactions
100703 9:28:54 [Note] Event Scheduler: Loaded 0 events
100703 9:28:54 [Note] /home/spider/mysql-5.1.44/5.1.44/bin/mysqld: ready for connections.
Version: '5.1.44' socket: '/tmp/mysql_sandbox5144.sock' port: 3306 Source distribution
100703 9:34:59 [Note] /home/spider/mysql-5.1.44/5.1.44/bin/mysqld: Normal shutdown
調(diào)查得知,只要刪除MySQL目錄下的ib_logfile0和ib_logfile1兩個文件,就可以解決問題了。
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP