Monday, February 1, 2010

The Big Byte: How to connect to MSSQL (ODBC) from Linux PHP

Marcin Gil has an excellent guide about how to setup ODBC drivers on Linux to talk to a Microsoft MSSQl Server running on Windows. This uses the FreeTDS drivers & unixODBC, along with standard PHP/Apache setup. ... Warning: odbc_connect() [ function.odbc-connect]: SQL error: [unixODBC][FreeTDS][SQL Server]Unable to connect to data source, SQL state S1000 in SQLConnect in /var/www/testdatabase/stdFunctions.php on line 49. Couldn\'t connect to SQL Server database ...

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.