Creating connection to Database Server: Failed!

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Bairat
TestLink user
Posts: 9
Joined: Thu Aug 07, 2008 12:34 pm
Location: UK

Creating connection to Database Server: Failed!

Post by Bairat »

Hi,
I wanted to install TestLink (version 1.7.4) for evaluation purpose to check whether it can be used in our organisation.
I have managed to install Apache 2.2, PHP 5 and everything has installed properly.
But when I try to setup TestLink it fails to connect to the database, the page looking like this.

"TestLink setup will now attempt to setup the database:
Creating connection to Database Server: Failed!
Please check the database login details and try again.
Database Error Message: "

I have SQL 2005 installed on my XP machine. And I am accessing a Server (DEV1) on different machine. I have created "TestLink" database and created tables and inserted data with the sql scripts which came with TestLink. I have also created user "testlink" with password as "p4ssw0rd".

Here is how my config_db.inc.php looks:

<?php //Automatically Generated by Testlink Installer
define('DB_TYPE', 'mssql');
define('DB_USER', 'testlink');
define('DB_PASS', 'p4ssw0rd');
define('DB_HOST', 'DEV1');
define('DB_NAME', 'TestLink');
?>

Can anyone please help me what I am doing wrong or any thing which I am missing?


Thanks,
DB.
Test Lead.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

you need to test with A PHP test program that you can connect to MSSQL.
Post Reply