HandlerSocket安裝記錄
tar zxvf ahiguti-HandlerSocket-Plugin-for-MySQL-1.0.6-23-g4cfc840.tar.gz
cd ahiguti-HandlerSocket-Plugin-for-MySQL-4cfc840
./autogen.sh
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
cat /usr/share/aclocal/libtool.m4 >> aclocal.m4
./configure --with-mysql-source=/root/Percona-Server
--with-mysql-bindir=/usr/local/Percona-Server-5.1.51-rel11.5-132-Linux-x86_64/bin
--with-mysql-plugindir=/usr/local/Percona-Server-5.1.51-rel11.5-132-Linux-x86_64/lib/mysql/plugin
錯誤configure: error: cannot find macro directory `m4'
mkdir m4
再次configure
make
make install
Append configuration options for handlersocket to my.cnf.
[mysqld]
loose_handlersocket_port = 9998
# the port number to bind to (for read requests)
loose_handlersocket_port_wr = 9999
# the port number to bind to (for write requests)
loose_handlersocket_threads = 16
# the number of worker threads (for read requests)
loose_handlersocket_threads_wr = 1
# the number of worker threads (for write requests)
open_files_limit = 65535
# to allow handlersocket accept many concurrent
# connections, make open_files_limit as large as
# possible.
Log in to mysql as root, and execute the following query.
mysql> install plugin handlersocket soname 'handlersocket.so';
If handlersocket.so is successfully installed, it starts
accepting connections on port 9998 and 9999. Running
'show processlist' should show handlersocket worker threads.
Client
tar zxvf ahiguti-HandlerSocket-Plugin-for-MySQL-1.0.6-23-g4cfc840.tar.gz
cd ahiguti-HandlerSocket-Plugin-for-MySQL-4cfc840/
./autogen.sh
./configure --disable-handlersocket-server
make
make install
#cd perl-Net-HandlerSocket
#perl Makefile.PL
#make
#make install
tar zxvf php-handlersocket-0.0.6.tar.gz
cd php-handlersocket
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
adjust php.ini and add an extension=handlersocket.so
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/124805/viewspace-1043938/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Docker安裝記錄Docker
- Redis On Windows安裝記錄RedisWindows
- 記錄 Ubuntu 安裝 homestaedUbuntu
- 安裝seafile記錄文件
- Macbook安裝Cplex記錄Mac
- VirtualBox安裝問題記錄
- c++ protobuf安裝記錄C++
- Supervisor 安裝除錯記錄除錯
- 【記錄】安裝 maxminddb 擴充套件套件
- [記錄] 安裝 maxminddb 擴充套件套件
- rosbridge簡單的安裝記錄ROS
- Docker版EKL安裝記錄文件Docker
- Pycharm 個人安裝小記錄PyCharm
- [記錄] 安裝 Xdebug 擴充套件套件
- 【記錄】安裝 Xdebug 擴充套件套件
- Windows 11 安裝wsl小記錄Windows
- 【Calculate】Calculate Linux安裝操作記錄Linux
- 記錄一下docker desktop windows安裝,容器安裝等DockerWindows
- 記一次 Valet 安裝失敗記錄
- CentOS上安裝Docker Compose-記錄CentOSDocker
- Windows 10 安裝 Homestead 問題記錄Windows
- CrazyDiskInfo硬碟檢測工具 安裝記錄硬碟
- 記錄一次 window 安裝 rabbitmqMQ
- 記錄安裝好Arch WSL後的配置
- mysql-8.4.0解壓版安裝記錄MySql
- 問題記錄:kali2安裝mariadb
- 【記錄】編譯安裝 SeasLog 擴充套件編譯套件
- 【記錄】編譯安裝 YAML 擴充套件編譯YAML套件
- 【記錄】編譯安裝 ProtoBuf 擴充套件編譯套件
- [記錄] 編譯安裝 IgBinary 擴充套件編譯套件
- [記錄] 編譯安裝 YAML 擴充套件編譯YAML套件
- 【記錄】編譯安裝 IgBinary 擴充套件編譯套件
- [記錄] 編譯安裝 ProtoBuf 擴充套件編譯套件
- [記錄] 編譯安裝 SeasLog 擴充套件編譯套件
- 記錄NLTK安裝使用全過程--pythonPython
- 黑蘋果攢機和安裝記錄蘋果
- Windows10安裝Pytorch步驟記錄WindowsPyTorch
- 記錄---docker安裝及配置jenkins全流程DockerJenkins
- K480N 安裝黑蘋果記錄蘋果