Compiling with the InnoDB Plugin from Oracle

Historical guide on compiling older MariaDB versions with the original Oracle InnoDB plugin instead of XtraDB.

MariaDB uses InnoDB as the default storage engine.

If you want to use Oracle's InnoDB plugin, then you need to compile MariaDB andnot specify --without-plugin-innodb_plugin when configuring. For example, a simple ./configure without any options will do.

When the InnoDB plugin is compiled, the innodb_plugin test suite will test the InnoDB plugin in addition to xtradb:

./mysql-test-run --suite=innodb_plugin

To use the innodb_plugin instead of xtradb you can do (for MariaDB 5.5):

mysqld --ignore-builtin-innodb --plugin-load=innodb=ha_innodb.so \
--plugin_dir=/usr/local/mysql/lib/mysql/plugin

See Also

replacing-builtin-innodb.html

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?