I've been trying to set up testlink on my local machine (with local mssql 2005) to test it.
I always get the same error when trying to set it up :
I am using wamp (latest version), uncommented mssql extension.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:
Installed the mssql driver and tested the connection to the database with a php script following this link :
http://technet.microsoft.com/en-us/libr ... 93139.aspx
Here is the script and it works :
Any idea ? I checked the source code and I gathered that the problem occurs when it is trying to connect to DB Server without choosing an specific database, I tryed to go deeper but without success.<?php
$serverName = "DMC17775\SQLEXPRESS";
$connectionOptions = array("UID" => "admin", "PWD" => "mypassword", "Database"=>"testlink");
/* Connect using SQL Authentication. */
$conn = sqlsrv_connect( $serverName, $connectionOptions);
if( $conn === false )
{ die( FormatErrors( sqlsrv_errors() ) ); }
?>
If all fails I could probably try to just call my script instead but this will probably cause more problem than it will solves.