這篇文章主要為大家展示了“MySQL中如何處理Plugin 'InnoDB' registration as a STORAGE ENGINE failed錯誤”,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“mysql中如何處理Plugin 'InnoDB' registration as a STORAGE ENGINE failed錯誤”這篇文章吧。
創(chuàng)新互聯(lián)公司專注于翼城企業(yè)網(wǎng)站建設(shè),響應(yīng)式網(wǎng)站建設(shè),商城網(wǎng)站制作。翼城網(wǎng)站建設(shè)公司,為翼城等地區(qū)提供建站服務(wù)。全流程按需策劃設(shè)計,專業(yè)設(shè)計,全程項目跟蹤,創(chuàng)新互聯(lián)公司專業(yè)和態(tài)度為您提供的服務(wù)
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)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!