Before you set up the plugin and the internal tables, verify that your server has the required prerequisite software.
The memcached Daemon Plugin is only supported on Linux, Solaris, and OS X platforms.
You must have
libevent installed, since it is
required by memcached. The way to get this
library is different if you use the MySQL installer or build
If you installed using the MySQL installer, the
libeventlibrary is not included in the installation. Use the installation method for your operating system to install
libevent1.4.3 or later: for example, depending on the operating system, you might use the command
port install. For example, on Ubuntu Linux:
sudo apt-get install libevent-dev
If you install from a source code release,
libevent1.4.3 is bundled with the package and is located at the top level of the MySQL source code directory. If you use this bundled version of
libevent, no action is required. If you want to use a local system version of
libeventyou must build MySQL with the
-DWITH_LIBEVENTbuild option set to
When you build MySQL server, you must build with
build option generates two shared libraries in the MySQL plugin
plugin_dir) that are
required to run
libmemcached.so: the memcached daemon plugin to MySQL.
InnoDBAPI plugin to memcached.