- 論壇徽章:
- 0
|
PHP5.2.5連接mssql問題
以前在php5.1.6 ntwdblib.dll下可以連接到mssql服務(wù)器, 現(xiàn)在php5.2.5連接不上,幫忙看是什么問題
Warning: mssql_connect() [function.mssql-connect]: message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (severity 14) in D:\MYOA\webroot\1.php on line 7
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 192.168.0.249 in D:\MYOA\webroot\1.php on line 7
連接不上
我在網(wǎng)上查的資料,但不知道如何解決
解決身份驗證和安全問題
由于身份認(rèn)證失敗,可能無法連接到 SQL Server。如果身份認(rèn)證失敗,您可能收到下列錯誤信息之一:
Login failed for user '<username>'
Login failed for user 'NTAUTHORITY\ANONYMOUS LOGON'
Login failed for user 'null'
如果您由于身份認(rèn)證失敗收到了錯誤信息,而且錯誤信息中沒有提到一個明確的 SQL Server 登錄名,請使用 Windows 身份認(rèn)證解決該問題。由于 Windows 身份認(rèn)證的問題,您可能會收到下列錯誤信息: |
|