Project

General

Profile

Testlink integration with Redmine

Added by Chanakhya Arivu over 11 years ago

Hi everybody,

We are facing difficulty in integrating the bug tracker system Redmine V2.0.3 with that of testlink 1.9. Mysql v5.0.3

We have followed the integration steps as mentioned in document BTSintegration as mentioned in the testlink documentation section.

Step-1

In the file
C:\Program Files\BitNami Redmine Stack\apache2\htdocs\Testlink\cfg\redmine_config.php
Set the DTS database details like below

define('BUG_TRACK_DB_HOST', '192.168.155.92');

define('BUG_TRACK_DB_NAME', 'bitnami_redmine');

define('BUG_TRACK_DB_TYPE', 'mysql');

define('BUG_TRACK_DB_USER', 'redmineuser');
define('BUG_TRACK_DB_PASS', 'xxxx');

step-2

C:\Program Files\BitNami Redmine Stack\apache2\htdocs\Testlink\custom_config.php

In the above file set

$g_interface_bugs='REDMINE';

Any other config are we missing ? We do not see the bug tracker icon appearing in the testlink after the integration

We observe in the testlink log the following line. There seems to be issue with mysql connectivity. We tried changing the bind address in my.cnf from 127.0.0.1 to the IP also. But it did not work. The firewall settings were also checked and it is allowing 3306.

We are running testlink,redmine,mysql all in the same machine. Please help us resolve this.

The log file under testlink is pasted below for your reference.

mysql_connect(): No connection could be made because the target machine actively refused it.
- in C:\Program Files\BitNami Redmine Stack\apache2\htdocs\Testlink\third_party\adodb\drivers\adodb-mysql.inc.php - Line 364
[12/Sep/3 14:15:35][ERROR][66172amvn0ga4h87htp1nvb504][GUI]
Connect to Bug Tracker database fails: (interface: REDMINE - Host:192.168.155.92 - DBName: bitnami_redmine