您好,登錄后才能下訂單哦!
這篇文章主要為大家展示了“mysql中如何處理Plugin 'InnoDB' registration as a STORAGE ENGINE failed錯誤”,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“mysql中如何處理Plugin 'InnoDB' registration as a STORAGE ENGINE failed錯誤”這篇文章吧。
Plugin 'InnoDB' registration as a STORAGE ENGINE failed,從詳細錯誤日志里面發(fā)現(xiàn)創(chuàng)建log file創(chuàng)建失敗。詳細日志如下:
1 2 3 4 5 6 7 | InnoDB: If this error appears when you are creating an InnoDB database, InnoDB: the problem may be that during an earlier attempt you managed InnoDB: to create the InnoDB data files, but log file creation failed. InnoDB: If that is the case, please refer to InnoDB: http://dev.mysql.com/doc/refman/5.1/en/error-creating-innodb.html 131017 0:45:52 [ERROR] Plugin 'InnoDB' init function returned error. 131017 0:45:52 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. |
其實之前這臺服務(wù)器有加載過innodb,后來卸掉了,但是logfile文件沒有刪除,導(dǎo)致從新加載的時候出現(xiàn)這個問題。解決方法很簡單
進入mysql數(shù)據(jù)路徑
/var/lib/mysql
1 | rm -rf ib_logfile* |
mysql服務(wù)重啟
以上是“mysql中如何處理Plugin 'InnoDB' registration as a STORAGE ENGINE failed錯誤”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注億速云行業(yè)資訊頻道!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。