轻歌越野 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 用PLC设计纸袋糊底机送料系统
  • ¥15 simulink仿真中dtc控制永磁同步电机如何控制开关频率
  • ¥15 用C语言输入方程怎么
  • ¥15 网站显示不安全连接问题
  • ¥15 github训练的模型参数无法下载
  • ¥15 51单片机显示器问题
  • ¥20 关于#qt#的问题:Qt代码的移植问题
  • ¥50 求图像处理的matlab方案
  • ¥50 winform中使用edge的Kiosk模式
  • ¥15 关于#python#的问题:功能监听网页