2012-04-27 80 views
-1

嗨,我想知道以下錯誤意味着什麼,爲什麼我會得到它?在php中的ODBC錯誤?

[unixODBC][Driver Manager]Data source name not found, and no default driver specified

我對odbc_conntect() arguements - "Driver={SQL Server Native Client 10.0};Server=tcp:database.windows.net;Database=someDB;Encrypt=yes;", '[email protected]', 'passwd'

回答

0

爲什麼它不工作的原因是,我沒有足夠的正確的驅動程序安裝或unixODBCdsn設置。

0

您在UNIX上運行此前衛和字符串是基於windows

+0

thx爲答案。我不太瞭解基於Microsoft的SQL數據庫或ODBC。那麼,什麼是UNIX格式的字符串? – camelCaseD 2012-04-27 02:32:22

+0

檢查此鏈接http://www.easysoft.com/developer/languages/php/sql_server_unix_tutorial.html – Satya 2012-04-27 02:35:24