1 # arg 1: the new package version
3 echo "-------------------------------------------------------------------------------
4 You must perform two operations to install HandlerSocket:
6 1) Connect to MySQL as root and issue the following query:
8 INSTALL PLUGIN handlersocket SONAME 'handlersocket.so';
10 2) Add the following to your my.cnf:
13 plugin-load=handlersocket.so
14 # The port number to bind to (for read requests)
15 loose_handlersocket_port = 9998
16 # The port number to bind to (for write requests)
17 loose_handlersocket_port_wr = 9999
18 # The number of worker threads (for read requests)
19 loose_handlersocket_threads = 16
20 # The number of worker threads (for write requests)
21 loose_handlersocket_threads_wr = 1
23 -------------------------------------------------------------------------------"