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通