osql and isql -- how to test ODBC config?

Tony Esposito <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <197C3C50EA91BF4DBE52558A4007816B435044BA@SN2PRD0202MB131.namprd02.prod.outlook.com>
Using FreeTDS with unixODBC on Linux.


(1)    tsql works fine.

(2)    but osql gets issue below:

looking up hostname for ip address 207.235.236.120
osql: warning: no DNS hostname found for "207.235.236.120"

in other blogs I see it mentioned that this is not an 'error' to be concerned with.  And in fact it is shown as a' warning', not an 'error'.
But how does one check out the ODBC configuration?  The osql tool stops because of this 'warning' so I never get connected and therefore never verify my ODBC setup.
And isql fails with:

[S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
[01000][unixODBC][FreeTDS][SQL Server]Unknown host machine name.
[ISQL]ERROR: Could not SQLConnect

Please advise.

Tony
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.