Getting error “Plugin 'InnoDB' registration as a STORAGE ENGINE failed” when starting MySQL

前端 未结 7 1574
失恋的感觉
失恋的感觉 2021-02-01 05:54

I found many similar question on Stackoverflow but didn\'t get the exact error solution. My issue is when starting MySQL service on one of the Dedicated Centos 6.5 machine, I am

7条回答
  •  悲哀的现实
    2021-02-01 06:39

    Changing the values of innodb_buffer_pool_size and innodb_log_file_size didn't work for me.

    Moving ib_logfile0 and ib_logfile1 files didn't help either.

    What did help was:

    > service mysql stop
    

    Edit my.cfg and add innodb_force_recovery = 1

    > service mysql start
    > service mysql stop
    

    Comment the innodb_force_recovery = 1 line.

    > service mysql start
    

    And voilá. (I should note that I have no idea if this involves any data loss or not)

提交回复
热议问题