Skip to content
Advertisement

php adodb MSSQL connection

I have a linux server that I’m trying to use php adodb to connect to a MSSQL server.

JavaScript

I’ve install mssql through yum etc and I know the server can connect to it as I’ve tried the following:

JavaScript

Any ideas why my adodb wont connect, or any examples on how I can connect would be much appreciated.

Advertisement

Answer

I’ve solved this by looking at this forum: http://ourdatasolution.com/support/discussions.html?topic=4200.0

The correct code is:

JavaScript

Hope that helps somebody else.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement