我的伺服器是Windows2000 Server, SQL Server 2000 sp3 及PHP 4.3.6
亦在SQL Server裡設定好需要的資料庫, 如 myDataBase.
同時亦在ODBC處設定好"系統資料來源". 如 myODBC.
但在install.php, 設定資料庫為 MS SQL Server 7/2000 時, 它說 "您主機上的 PHP 設定並不支援您所選擇的資料庫型態"
於是我便選擇 MS SQL Server [ODBC]. 又不行, 錯誤為:
Warning: odbc_connect(): SQL error: [Microsoft][ODBC 驅動程式管理員] 找不到資料來源名稱且未指定預設的驅動程式, SQL state IM002 in SQLConnect in C:\MyForum\Forum\db\mssql-odbc.php on line 54
Warning: odbc_error(): supplied argument is not a valid ODBC-Link resource in C:\MyForum\Forum\db\mssql-odbc.php on line 377
Warning: odbc_errormsg(): supplied argument is not a valid ODBC-Link resource in C:\MyForum\Forum\db\mssql-odbc.php on line 378
phpBB : Critical Error
Could not connect to the database
我已看了後多有關文件... 都是不行.. 我的錯, 是錯在那裡呢.. 請各位指教指教!!!


