尝试将现有SITE ONE迁移到我的本地服务器SITE TWO
但收到此错误。
请帮助
[Fri Apr 24 04:17:08 2015] [错误] [客户59.96.252.161] [4月24日星期五 2015年04:17:08] t.pl:找不到@INC中的Mysql / Statement.pm(@INC 包含:。 /家庭/ etkhost1 / perl5的/ lib目录/ perl5的 /家庭/ etkhost1 / perl5的/ lib中/的perl5 / x86_64的Linux的线程多 /home/etkhost1/perl/usr/local/lib/perl5/5.8.8/x86_64-linux /home/etkhost1/perl/usr/local/lib/perl5/5.8.8 /home/etkhost1/perl/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /home/etkhost1/perl/usr/local/lib/perl5/site_perl/5.8.8 /家庭/ etkhost1 / perl的在/ usr / local / lib目录/ perl5的/ SITE_PERL /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 / usr / local / lib / perl5 / site_perl) 在Mysql.pm第12行。
sub info {
my $q = new CGI;
my $db = Mysql->connect('localhost','X','Y','Z');
my $filing_status = $postFields{ "filing_status" };
my $street_address = $postFields{ "street_address" };
my $country = $postFields{ "country" };
my $po_box = $postFields{ "po_box" };
my $apt = $postFields{ "apt" };
my $city = $postFields{ "city" };
my $state = $postFields{ "state" };
my $zip = $postFields{ "zip" };
答案 0 :(得分:0)
您似乎需要安装DBD::mysql
<强>更新强>
@ThisSuitIsBlackNot
指出DBD::mysql
的最新版本不包含Mysql
模块。您可以通过downloading version 3.0008修复该问题并手动安装。安装模块的说明在perlmodinstall