Diego Diego - 1 year ago 153
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.

Answer Source

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

isql -v mydsn myusername mypassword
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download