Diego Diego - 4 months ago 7x
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