Can't locate Net/HandlerSocket.pm

Can't locate Net/HandlerSocket.pm in @INC (@INC contains: /usr/local/perl/lib/5.10.1/x86_64-linux-thread-multi /usr/local/perl/lib/5.10.1 /usr/local/perl/lib/site_perl/5.10.1/x86_64-linux-thread-multi /usr/local/perl/lib/site_perl/5.10.1 .) at alltablecount.pl line 7.

BEGIN failed--compilation aborted at alltablecount.pl line 7.


除了在mysql端安装handlersocket插件之外 还要在执行端安装模块

 其中Net::HandlerSocket模块存放于HandlerSocket的分发tar包的perl-Net-HandlerSocket目录中,编译安装方式如下:

Shell代码 
  1. cd perl-Net-HandlerSocket/  
  2. perl Makefile.PL  
  3. make  
  4. make install 

你可能感兴趣的:(mysql,perl,handlersocket)