Mantis, IIS and MS SQL Server 2000

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
DarenHawes

Mantis, IIS and MS SQL Server 2000

Post by DarenHawes »

Hi,

I have finally got PHP running on my IIS6 box and now need to use MS SQL Server 2000 as my Database.

Is there any information on this? I have found the SQL Scripts and built the Database fine, but I get

Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Mantis Bug Tracker\core\adodb\drivers\adodb-mysql.inc.php on line 338

When trying to run? Any Ideas?

Thx
p_alex

MSSQL Support

Post by p_alex »

Add in config_inc.php:

$g_hostname = 'sql2000server';
$g_db_username = 'sa';
$g_db_password = 'sapass';
$g_database_name = 'bugtracker';
$g_db_type = 'mssql';
Daren Hawes

Still get errors

Post by Daren Hawes »

now I get this error..

Fatal error: Call to undefined function mssql_get_last_message() in D:\Clients\Mantis Bug Tracker\core\adodb\drivers\adodb-mssql.inc.php on line 470

I have tried both the new Login I created in MSSQL as well as the SA.
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Sounds like you don't have your MS SQL extension for PHP set up. I don't use it myself, but a quick Google found this line:

"You probably do not have php_mssql.dll added to your extension list in your php.ini."

So either you don't have the file at all, or maybe it's not enabled in your PHP.INI file.
Post Reply