Beginning with MariaDB 5.3.0, the HandlerSocket plugin is included in both source and binary distributions. After MariaDB is installed, use the INSTALL PLUGIN command (as the root user) to install the HandlerSocket plugin. This command only needs to be run once, like so:

MariaDB [(none)]> INSTALL PLUGIN handlersocket SONAME 'handlersocket.so';

After installing the plugin, SHOW PROCESSLIST will show the HandlerSocket worker threads.

On the client side, to make use of the plugin you will need to install the appropriate client library (i.e. libhsclient for C++ applications and perl-Net-HandlerSocket for perl applications, both available from the HandlerSocket website).

HandlerSocket configuration options should be placed in the [mysqld] section of your my.cnf file.

Comments

Comments loading...