This page is still under construction.

back to posts

MySQL / MariaDB - Plugin 'InnoDB' error

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


Problem

Here are free command status: free -m

         total       used       free     shared    buffers     cached

Mem: 3743 3631 111 0 2705 21 -/+ buffers/cache: 905 2838 Swap: 2047 0 2047


Solution

I have the same problems, this my solution:

Add more RAM to the server

Decrease the value of innodb-buffer-pool size in the config file /etc/mysql/my.cnf:

innodb_buffer_pool_size = 10M

After save my.cnf, restart mysql service.

If you found it useful, please consider signing up to my newsletter. Every week, I share my thoughts on cool stuff I found around the internet. No spam, ever. Unsubscribe any time.