My system is set like this:
Mantis: Mac OS X 10,4, MySQL 5.0, PHP5, IP:172.19.4.13
Testlink: Mac OS X 10.4, MySQL 5.0, PHP5, IP: 172.19.8.72
These two system individually works great. But I cannot make them talk. The error message is: "Connection to your Bug Tracking System has failed:
Please check your configuration."
Please take a look at my cfg files below, and point to me where I did wrong:
====== cfg/mantis.cfg.php
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
*/
define('BUG_TRACK_DB_HOST', 'http://172.19.3.14');
define('BUG_TRACK_DB_NAME', 'mantis_bugs');
define('BUG_TRACK_DB_TYPE', 'mysql');
define('BUG_TRACK_DB_USER', 'metisqa');
define('BUG_TRACK_DB_PASS', 'dbadmin');
define('BUG_TRACK_HREF', "http://172.19.3.14/view_all_bug_page.php ");
define('BUG_TRACK_ENTER_BUG_HREF',"http://172.19.3.14/mantis");
?>
====== custom_config.inc.php
<?php
$g_interface_bugs='MANTIS';
?>
======= config_inc.php (on Mantis machine)
<?php
.......
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'alien';
......
?>
Testlink 1.7 does not talk to Mantis 1.0.5 ?
remove the "http://"
in
define('BUG_TRACK_DB_HOST', 'http://172.19.3.14');
it's a db host and not a web server (-:
in
define('BUG_TRACK_DB_HOST', 'http://172.19.3.14');
it's a db host and not a web server (-:
Hm, maybe a typo ? You wrote:
My system is set like this:
Mantis: Mac OS X 10,4, MySQL 5.0, PHP5, IP:172.19.4.13
and
define('BUG_TRACK_DB_HOST', 'http://172.19.3.14');
define('BUG_TRACK_DB_NAME', 'mantis_bugs');
define('BUG_TRACK_DB_TYPE', 'mysql');
define('BUG_TRACK_DB_USER', 'metisqa');
define('BUG_TRACK_DB_PASS', 'dbadmin');
define('BUG_TRACK_HREF', "http://172.19.3.14/view_all_bug_page.php ");
define('BUG_TRACK_ENTER_BUG_HREF',"http://172.19.3.14/mantis");
?>
Please check this too?
My system is set like this:
Mantis: Mac OS X 10,4, MySQL 5.0, PHP5, IP:172.19.4.13
and
define('BUG_TRACK_DB_HOST', 'http://172.19.3.14');
define('BUG_TRACK_DB_NAME', 'mantis_bugs');
define('BUG_TRACK_DB_TYPE', 'mysql');
define('BUG_TRACK_DB_USER', 'metisqa');
define('BUG_TRACK_DB_PASS', 'dbadmin');
define('BUG_TRACK_HREF', "http://172.19.3.14/view_all_bug_page.php ");
define('BUG_TRACK_ENTER_BUG_HREF',"http://172.19.3.14/mantis");
?>
Please check this too?
Thank you, Schlundus. I am sorry for the typo. The IPs in the configuration file are correct.
I couldn't make TL link to Mantis, so finally I TL and Mantis to one computer, then TL can talk to Mantis.
I noticed that Mantis database server does not allow other host (like IP address or other computer name) connect to its database server, but "localhost" can. I guess there is someway to make that connection happen.
So far, I am good to have them work.
Merry Christmas.
I couldn't make TL link to Mantis, so finally I TL and Mantis to one computer, then TL can talk to Mantis.
I noticed that Mantis database server does not allow other host (like IP address or other computer name) connect to its database server, but "localhost" can. I guess there is someway to make that connection happen.
So far, I am good to have them work.
Merry Christmas.
Look at for example:
http://dev.mysql.com/doc/refman/5.0/en/ ... users.html
Install phpMyAdmin or execute shell command to create a user ... or to modify the current one.
There is defined in database for connection <your_testlink_user_name>@localhost
but must be
<testlink_user_name>@<your_server>
http://dev.mysql.com/doc/refman/5.0/en/ ... users.html
Install phpMyAdmin or execute shell command to create a user ... or to modify the current one.
There is defined in database for connection <your_testlink_user_name>@localhost
but must be
<testlink_user_name>@<your_server>