unixODBC and sybase
I'm trying to connect to a sybase DB, but i've been unable to.
This is my .odbc.ini file: Code:
[ODBC Data Sources] Code:
$ isql Smile -v 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? |
Well... I've been able to make a step forward (finally).
It turns out that the odbc driver is trying to stablish a remote connection through localhost. :scratch: Take a look at the log: Code:
mon jun 13 2005 11:17:41 Maybe there's a way to force unixODBC to use my IP adress. Is there any? |
was afiannly able to connect to the DB server.
I had to set some parameters at the CommLinks parameter: Code:
CommLinks=tcpip(MyIP=192.168.0.240;IP=192.168.0.3:2638; ) |
It's been quite a while since the last post... but I'm back in trouble. :'(
I have switched my box tu ubuntu (kubuntu, as a matter of fact) beezy. Just installed unixodbc, and have to make a little modification for the config file, but I only get this message when I run isql: Code:
$ isql Smile -v |
All times are GMT -5. The time now is 03:14 AM. |