★★Bugzilla的问题

zhangluotian 2012-09-07 11:04:42
求助,安装bugzilla卡在验证mysql连接这里了
bugzilla版本4.2.3最新的2012-09月的
mysql 5.1的


bugzilla所有模块都安装完了,修改localconfig文件,改了连接密码,再次运行checksetup.pl就出红字,报错,与mysql连接出error了。。1检查mysql服务是否启动2.。。。几条

我都检查了,都正确,就是过不去。。。其他问题在百度谷歌都能找到,唯一这个问题网上没有。。。参考国外的几个也没解决。。求助,先谢过了Q287599637答案2空格1



贴提示代码

There was an error connecting to MySQL:

install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 1260) 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.

翻译过来是


有一个连接到MySQL的错误:

    install_driver(MySQL的)失败:尝试重新加载DBD / mysql.pm中止。
编译失败,需要在(EVAL1260)3号线,<DATA>块558。

 在Bugzilla的/ DB.pm线1284


这可能有以下几个原因:

* MySQL未运行。
* MySQL的运行,但有一个问题,无论是在
  服务器配置或数据库的访问权限。阅读的Bugzilla
  doc目录中的指南。关于数据库配置的部分
  应该会有所帮助。
*您的密码“错误的用户,$ db_pass指定,
  不正确,在'。/ localconfig'。
*用Perl DBI,或MySQL是一个微妙的问题。使
  确定“。/ localconfig中的所有设置都是正确的。如果一切都失败,设置
  '$ db_check'为0。


...全文
490 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaoliuanzhuo 2014-02-24
  • 打赏
  • 举报
回复
请问楼主解决了吗?我现在也遇到了这个问题。
ye3mao 2013-01-03
  • 打赏
  • 举报
回复
使用命令ppm upgrade DBI 更新驱动
lcytzk 2012-12-26
  • 打赏
  • 举报
回复
同求问啊~~
guo_guowei 2012-12-26
  • 打赏
  • 举报
回复
win7下 一样的问题 求问
BadNull 2012-10-19
  • 打赏
  • 举报
回复
同样遇到,没结吗?
xu1129330072 2012-10-15
  • 打赏
  • 举报
回复
我的也是这个问题,请问楼主有没有解决掉?如何解决的?
qu330 2012-09-27
  • 打赏
  • 举报
回复
突然发觉,楼主连os都没说明,
qu330 2012-09-27
  • 打赏
  • 举报
回复
我准备逃到oracle,绕道
yanxing_0928 2012-09-26
  • 打赏
  • 举报
回复
别沉了...还没解决呢....我去
ooooooola 2012-09-21
  • 打赏
  • 举报
回复
我也是这个错误,请问楼主有没有解决掉?如何解决的?[Quote=引用 3 楼 的回复:]

继续贴错误



install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 1260) line 3, <DATA> chunk 558.

at Bugzilla/DB.pm line 1284


翻译

i……
[/Quote]
zhangluotian 2012-09-07
  • 打赏
  • 举报
回复
继续贴错误



install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 1260) line 3, <DATA> chunk 558.

at Bugzilla/DB.pm line 1284


翻译

install_driver(MySQL的)失败:尝试重新加载DBD / mysql.pm中止。
编译失败,需要在(EVAL1260)3号线,<DATA>块558。

 在Bugzilla的/ DB.pm线1284
zhangluotian 2012-09-07
  • 打赏
  • 举报
回复
补充,,这个错误之前的一个代码,当时没注意




This version of Bugzilla contains some variables that you may want to
change and adapt to your local settings. The following variables are
new to ./localconfig since you last ran checksetup.pl:

create_htaccess, webservergroup, use_suexec, db_driver, db_host,
db_name, db_user, db_pass, db_port, db_sock, db_check, index_html,
cvsbin, interdiffbin, diffpath, site_wide_secret

Please edit the file ./localconfig and then re-run checksetup.pl
to complete your installation.



翻译


这个版本的Bugzilla包含了一些变量,你可能要
改变和适应本地设置。以下变量
新/ localconfig自上次运行checksetup.pl:

create_htaccess,webservergroup,use_suexec,db_driver,DB_HOST,
DB_NAME,DB_USER,db_pass,db_port,db_sock,db_check,index_html,
cvsbin,interdiffbin,diffpath,site_wide_secret

请编辑该文件。/ localconfig,然后重新运行checksetup.pl
完成安装。
zhangluotian 2012-09-07
  • 打赏
  • 举报
回复
高手们,帮帮忙啊,别沉了啊。。。自己顶。。如果我解决了,会回来贴答案和联系方式,交流的

62,041

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧