handlersocket无法安装在二进制版本mysql下面吗?

解决方案 »

  1.   

    我的编译
    ./configure  --with-mysql-plugindir=/usr/local/mysql/lib/plugin --with-mysql-source=/data/tools/mysql-5.1.57 --with-mysql-bindir=/usr/local/mysql/bin/usr/local/mysql 目录是二进制的mysql所在目录
    /data/tools/mysql-5.1.57是源码所在目录。make;make install都没问题,
    但是mysq>install plugin handlersocket soname 'handlersocket.so';
    和my.cnf下的
    loose_handlersocket_port=9998
    loose_handlersocket_port_wr=9999
    loose_handlersocket_threads=6
    loose_handlersocket_threads_wr=1
    配置无法共存,只要执行启动mysql的命令
    mysql就不停自己启动关闭。
    界面如下:
    120410 10:17:39 mysqld_safe Number of processes running now: 0
    120410 10:17:39 mysqld_safe mysqld restarted
    120410 10:17:39 mysqld_safe Number of processes running now: 0
    120410 10:17:39 mysqld_safe mysqld restarted
    120410 10:17:39 mysqld_safe Number of processes running now: 0
    120410 10:17:39 mysqld_safe mysqld restarted