Table of Contents
- 5.1 CMake Variables to Control Plugin Building (MySQL 5.5 and Later)
- 5.2 CMake Macro to Define the Plugin
- 5.3 Autotools configure Support (MySQL 5.1)
- 5.4 Autotools Plugin Macros
- 5.5 Specifying mysqld Variables Within a Plugin
- 5.6 Additional Accessors for Plugins
- 5.7 MySQL Services for Plugins
Beginning with MySQL 5.1, the server supports a plugin architecture
for loading plugins. For example, several storage engines have been
converted to plugins, and they can be selected or disabled at
configuration time. You can build a plugin as static (compiled into
the server) or dynamic (built as a dynamic library that must be
installed using the
INSTALL PLUGIN statement or
--plugin-load option before it can be used).
Some plugins might not support static or dynamic build.
This section describes the command-line options that are used to control which plugins get built, and the CMake/autotools macros that enable plugin configuration support to be described. The support for building plugins is different in MySQL 5.5 and MySQL 5.1 (the build tools are CMake in 5.5, autotools in 5.1).