[unixODBC-dev] Connection to MS-SQL

Nick Gorham nick at easysoft.com
Sun Jul 18 21:51:21 BST 2004

Alejandro Rotolo wrote:
> Sorry ... It wasn't clear enough....
> What I meant is that previously, the same piece of code worked with a DNS
> pointing to a MySQL server ("pp3") ... and I wanted to use this same code to
> conect to a MS-SQL server through a second DNS: "pp4"
> In both cases the DNS' (pp3 AND pp4) were tested with isql and worked
> fine... the code worked ok with "pp3" ... but when tried to connect to "pp4"
> it gives me this odd message...... (error coming from the MySQL driver....)

I am not sure whats going on there, the error does show its coming from 
MySQL but you are pointing to a MSSQL DSN.

Maybe its worth using strace before your app to see just what ini files 
its opening.

Nick Gorham
Easysoft Limited

More information about the unixODBC-dev mailing list