I'm trying to connect to a sybase DB, but i've been unable to.
This is my .odbc.ini file:
[ODBC Data Sources]
Smile=DB de Smile
When I try to connect with isql, I get this:
$ isql Smile -v
[unixODBC][Sybase][ODBC Driver][Adaptive Server Anywhere]Unable to connect to database server: Database server not found
[ISQL]ERROR: Could not SQLConnect
I know I've always had to setup JDBC connections giving the IP address and the port of the service, and that normally doesn't fail. This is the first time I try with ODBC, but haven't been able to.
Is there a way I can tell it to use a ip address and a port?
What are the things that I can setup in the ODBC file? I didn't get much information in the ASA Documentation.
Is there a way to ask isql (or unixODBC) to be more verbose on the things that are happening? I noticed that there is no traffic going to the DB server form my host (with tcpdump).
Maybe I can setup a ODBC DSN that uses a JDBC connection, which I know won't fail. Is this possible?