51Testing软件测试论坛

标题: 安装Bugzilla时出现的问题 [打印本页]

作者: ghx    时间: 2006-3-28 15:46
标题: 安装Bugzilla时出现的问题
在安装完MySql后,运行第二次perl checksetup.pl时,出现如下问题:
All the required modules are available at:
    http://landfill.bugzilla.org/ppm/
You can add the repository with the following command:
    ppm rep add bugzilla http://landfill.bugzilla.org/ppm/

Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
DBI connect(';localhost;3306','bugs',...) failed: Access denied for user 'bugs'@
'localhost' (using password: NO) at checksetup.pl line 1460
Can't connect to the mysql database. Is the database installed and
up and running?  Do you have the correct username and password selected in
localconfig?Sample Text


搜一这方面的文档,说吧MySql的密码设为空就可以了,但我设置成空后,还是有上面的问题,请大家给分析一下原因。深表感谢。
作者: archonwang    时间: 2006-3-28 16:32
缺少模块。请安装模块包
作者: ghx    时间: 2006-3-30 15:27
所有的Modules 都安转好了啊,
ppm> install AppConfig
Note: Package 'AppConfig' is already installed.
ppm> install TimeDate
Note: Package 'TimeDate' is already installed.
ppm> install DBI
Note: Package 'DBI' is already installed.
ppm> install DBD-mysql
Note: Package 'DBD-mysql' is already installed.
ppm> install Template-Toolkit
Note: Package 'Template-Toolkit' is already install
ppm> install GD
Note: Package 'GD' is already installed.
ppm> install Chart
Note: Package 'Chart' is already installed.
ppm> install GDGraph (安装前会自动下载GDTextUtil并安
Note: Package 'GDGraph' is already installed.
ppm> install PatchReader
Note: Package 'PatchReader' is already installed.
作者: ghx    时间: 2006-3-30 15:29
我觉得不是Modules的问题,应该是Bugzilla和Mysql之间没有关联的原因,但找不到原因所在。
作者: bigstupidcat    时间: 2006-4-4 23:15
查看mysql的配置。是否给bugs帐号相应的权限。
作者: will_suto    时间: 2006-4-5 04:31
已经讲的很清楚了:
DBI connect(';localhost;3306','bugs',...) failed:
Access denied for user 'bugs'@'localhost' (using password: NO)
看看:

http://www.websina.com/cn/install.html
虽然讲的不直接是Bugzilla,但是 Mysql这部分是类似的。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2