Documentation Home
InnoDB Plugin 1.0 for MySQL 5.1 User's Guide
Download this Manual
PDF (US Ltr) - 1.3Mb
PDF (A4) - 1.3Mb


InnoDB Plugin 1.0 for MySQL 5.1 User's Guide  /  Installing the InnoDB Plugin  /  Building the InnoDB Plugin from Source Code

9.4. Building the InnoDB Plugin from Source Code

Sometimes, you may wish to build the plugin from the source code using special compilation options, or there might be no binary plugin available for your server platform. With the resulting special version of MySQL containing the new InnoDB functionality, it is not necessary to INSTALL any plugins or be concerned about startup parameters that preclude loading plugins.

To build the InnoDB Plugin from the source code, you also need the MySQL source code and some software tools. You should become familiar with the MySQL manual section on Installing MySQL from Source.

The general steps for building MySQL from source, containing the InnoDB Plugin in place of the standard built-in InnoDB, are as follows:

  • Download the MySQL source code.

  • Download the InnoDB Plugin source code.

  • Replace the source code for the built-in InnoDB with the InnoDB Plugin source tree.

  • Compile MySQL as usual, generating a new mysqld executable file.

  • Configure the MySQL server by editing the configuration file to use InnoDB as the default engine (if desired) and set appropriate configuration parameters to enable use of new InnoDB Plugin features.

The following sections detail these steps for Linux or Unix systems, and for Microsoft Windows.


User Comments
Sign Up Login You must be logged in to post a comment.