Ok, I am showing you better way to connect testlink and mantis.
I haven't used testlink with mantis but once I have connected testlink with bugzilla so I think process should be same.
What I did
first forget the mantis.cfg.php. I did not use in my process.
Add an entry as bugzilla in '
issue tracker management'. Type was '
bugzilla (interface:db)' and configuration was
Code:
<!-- Template bugzilladbInterface -->
<issuetracker>
<dbhost>localhost</dbhost>
<dbname>bugs</dbname>
<dbschema>bugs</dbschema>
<dbtype>mysql</dbtype>
<dbuser>username-of-database</dbuser>
<dbpassword>password-of-database</dbpassword>
<uricreate>http://192.168.2.99/bugzilla-4.0.4/</uricreate>
<uriview>http://192.168.2.99/bugzilla-4.0.4/show_bug.cgi?id=</uriview>
</issuetracker>
In my case username and password was 'root' & ''(blank) respectively.
Now I opened
'Test Project management' and added my my project. Here I have selected my issue tracker
'bugzilla' in issue tracker dropdown.
The drop down is empty if you do not add issue tracker in issue tracker management
Now I added Testplan.
Under Test plan, I added test suite,
Under test suite I created test cases.
Now when I executed my test cases in
'Test execution', after execution, it shows a symbol as
'bug management' in executed test case.
Here we have linked the executed test case with issue created in bugzilla.
Here it gives you link which opens the issue in bugzilla.
I hope it will help.