轻歌越野 2018-12-12 03:19 采纳率: 0%
浏览 887
已结题

TestLink1.9.16整合Bugfree2.1时出现Connect to Bug Tracker database fails:Unknown database 'bugfree2'

1.TestLink1.9.16环境(XAMPP5.6.38+TestLink1.9.16):http://192.168.137.49:8099/testlink
2.Bugfree2.1环境(XAMPP1.6.8+Bugfree2.1):http://192.168.137.47:81/bugfree/
3.Testlink-【Issue Tracker】配置:bugzilla(Interface:db)

<!-- Template bugzilladbInterface -->
<issuetracker>
<dbhost>localhost</dbhost>
<dbname>bugfree2</dbname>
<dbschema>bugfree2</dbschema>
<dbtype>mysql</dbtype>
<dbuser>root</dbuser>
<dbpassword>admin</dbpassword>
<uricreate>http://192.168.137.47:81/bugfree</uricreate>
<uriview>http://192.168.137.47:81/bugfree/show_bug.cgi?id=</uriview>
</issuetracker>

测试项目下有勾选Issue Tracker了,结果在执行页面报错:
Attention Please:
Something is preventing connection to Bug Tracking System,
and is going to create performance issues.
Please contact your TestLink Administrator

查看/opt/lampp/htdocs/testlink/logs/userlog1.log发现:

mysqli_real_connect(): (HY000/1049): Unknown database 'bugfree2' 
- in /opt/lampp/htdocs/testlink/third_party/adodb/drivers/adodb-mysqli.inc.php - Line 124
[18/Dec/12 01:43:24][ERROR][9vup27eep18rruinnhdum6qi75][GUI - Test Project ID : 1]
Connect to Bug Tracker database fails: (interface: - Host:->dbhost - DBName: ->dbname - User: ->dbuser) 1049 - Unknown database 'bugfree2'

在TestLink安装的机子上ping 192.168.137.47,可以ping通

  • 写回答

1条回答

  • 黛玛收割者 2018-12-12 03:42
    关注

    dbname和dbschema需要改一下

    评论

报告相同问题?

悬赏问题

  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler