Error while running plugin 'nfsight': DBD::mysql::st execute failed: Incorrect integer value:
通过 国内的 CPAN 镜像,安装安装配置DBI,perl连接mysql
1、DBI
http://mirrors.163.com/cpan/authors/id/T/TI/TIMB/DBI-1.643.tar.gz
tar -zxvf DBI-1.643.tar.gz
perl Makefile.PL
make
make test
make install
2、DBD-mysql
http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.050.tar.gz
tar -zxvf DBD-mysql-4.050.tar.gz
cd DBD-mysql-4.0.50
perl Makefile.PL --mysql_config=/usr/bin/mysql_config
make
make test
make install
找不到mysql_config?