51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4053|回复: 1
打印 上一主题 下一主题

[求助]Bugzilla安装过程中无法连接Mysql?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-9-4 16:49:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我在WindowXP下安装的。
activeperl 5.14.2+mysql 5.1+bugzilla 4.2.2,perl模块已经安装完成,最后输入perl checkstup.pl 却显示无法连接bugs数据库,以下是错误的提示,请各位指教,非常感谢!
C:\Documents and Settings\Administrator>cd c:\bugzilla

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:

    http://cyberelk.net/tim/patchutils/

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.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    慵懒
    2015-1-12 09:31
  • 签到天数: 2 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
    发表于 2012-9-20 13:56:41 | 只看该作者
    这可能是你的配置文件问题,vi 查看编辑一下./localconfig   db_pass='',dbwebserver='',设置administration的时候还需要在配置文件里加入一部分代码的,具体可以到网上查找在windowxp系统下bugzilla的安装步骤,照做就ok了
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-22 16:51 , Processed in 0.075550 second(s), 26 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表