我正在重建旧的游戏服务器,并安装了MySQL 5.5和Active Perl。这是一台Windows 2012R2服务器,我使用MySQL和Active Perl在网站上填充活动。
游戏服务器正在运行,MySQL和网站都已启动,但是没有玩家统计信息,正如我运行的Perl脚本所说:
c:\HLStatsX>perl hlstats.pl
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may
need to install the DBD::mysql module) (@INC contains: C:/Perl64/site/lib
C:/Perl64/lib) at (eval 10) line 3. Perhaps the DBD::mysql perl module
hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't
right. Available drivers: CSV, DBM, ExampleP, File, Gofer, Mem, ODBC,
Oracle, Pg, Proxy, SQLite, Sponge. at .//HLstats.plib line 152. c:\HLStatsX>
在PATH下的环境变量中,我有:
C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files
(x86)\PHP\v5.5;C:\Windows\system32;C:\Windows
;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files (x86)\MySQL\MySQL Serv
我对MySQL和Active Perl知之甚少,并在Google上花费了很长时间寻找解决方案。
以前有人看过吗?
我也尝试过手动安装: