Diego Diego - 11 months ago 97
Linux Question

Test ODBC entry on Unix

Does anyone know a way of testing if an odbc entry on the odbc.ini file is configured correctly?

I would like to know if my linux server is able to connect to my SQL Server using an ODBC entry I configured.


If you are using unixODBC as the ODBC driver manager then just do:

isql -v mydsn myusername mypassword