C:\bugzilla>perl checksetup.pl
Set up gcc environment - gcc.exe (gcc-4.6.3 release with patches [build 20120411
by perlmingw.sf.net]) 4.6.3
* This is Bugzilla 4.2.2 on perl 5.14.2
* Running on WinXP/.Net Build 2600 (Service Pack 3)
Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.59
Checking for Digest-SHA (any) ok: found v5.62
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.76
Checking for DateTime-TimeZone (v0.79) ok: found v1.48
Checking for DBI (v1.614) ok: found v1.616
Checking for Template-Toolkit (v2.22) ok: found v2.24
Checking for Email-Send (v2.16) ok: found v2.198
Checking for Email-MIME (v1.904) ok: found v1.911
Checking for URI (v1.37) ok: found v1.59
Checking for List-MoreUtils (v0.22) ok: found v0.33
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004
Checking for Win32 (v0.35) ok: found v0.44
Checking for Win32-API (v0.55) ok: found v0.64
OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:
Checking for DBD-mysql (v4.001) ok: found v4.022
There was an error connecting to MySQL:
install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 1324) line 3, <DATA> chunk 558.
at Bugzilla/DB.pm line 1284
This might have several reasons:
* MySQL is not running.
* MySQL is running, but there is a problem either in the
server configuration or the database access rights. Read the Bugzilla
Guide in the doc directory. The section about database configuration
should help.
* Your password for the 'bugs' user, specified in $db_pass, is
incorrect, in './localconfig'.
* There is a subtle problem with Perl, DBI, or MySQL. Make
sure all settings in './localconfig' are correct. If all else fails, set
'$db_check' to 0.作者: raceantking 时间: 2012-9-20 13:56
这可能是你的配置文件问题,vi 查看编辑一下./localconfig db_pass='',dbwebserver='',设置administration的时候还需要在配置文件里加入一部分代码的,具体可以到网上查找在windowxp系统下bugzilla的安装步骤,照做就ok了