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
Mantis, IIS and MS SQL Server 2000
Moderators: Developer, Contributor
-
p_alex
MSSQL Support
Add in config_inc.php:
$g_hostname = 'sql2000server';
$g_db_username = 'sa';
$g_db_password = 'sapass';
$g_database_name = 'bugtracker';
$g_db_type = 'mssql';
$g_hostname = 'sql2000server';
$g_db_username = 'sa';
$g_db_password = 'sapass';
$g_database_name = 'bugtracker';
$g_db_type = 'mssql';
-
Daren Hawes
Still get errors
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.
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.
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.
"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.