ODBC to access POSTGRESQL on LINUX - take 2 - Mailing list pgsql-interfaces

From Justin Long
Subject ODBC to access POSTGRESQL on LINUX - take 2
Date
Msg-id 000001bea61a$56b02ee0$0a411a9f@cbn.org
Whole thread Raw
List pgsql-interfaces
I was directed to the psqlODBC driver and have downloaded that and installed
it. Now I am attempting to access my Postgresql database on Linux using the
latest version (6.5) of PGSQL.

Here's the error log:

conn=30083196, SQLDriverConnect( in)='DRIVER={PostgreSQL};',
fDriverCompletion=1
Global Options: Version='06.40.0006', fetch=100, socket=4096,
unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190               disable_optimizer=1, ksqo=1,
unique_index=0,
use_declarefetch=0               text_as_longvarchar=1, unknowns_as_longvarchar=0,
bools_as_char=1               extra_systable_prefixes='dd_;', conn_settings=''
CONN ERROR: func=SQLDriverConnect, desc='Error from CC_Connect', errnum=101,
errmsg='Could not connect to the server'           ------------------------------------------------------------
 henv=31129732, conn=30083196, status=0, num_stmts=16           sock=31129748, stmts=31129788, lobj_type=-999
----------------Socket Info -------------------------------           socket=-1, reverse=0, errornumber=4,
errormsg='Couldnot connect
 
to remote socket.'           buffer_in=30089524, buffer_out=30093624           buffer_filled_in=0, buffer_filled_out=0,
buffer_read_in=0

I am using Visual Interdev 6 at the moment to attain a connection. Any
suggestions from the peanut gallery as to why it can't connect? (There isn't
a driver on the Linux side that one has to install, is there?)

Any suggestions, rotten fruit, eggs, whatever, welcome...

Justin Long


Never retreat. Never surrender. Never cut a deal with a dragon.
_______________________________________________________________
Justin Long                   CIO / Site Editor
616 Station Square Ct         Network for Strategic Missions
Chesapeake, VA 23320          977 Centerville Trnpk CSB 317
JustinLong@xc.org             Va Beach, VA 23463
Check out our site at:        http://www.strategicnetwork.org



pgsql-interfaces by date:

Previous
From: "Michael R. Anderson"
Date:
Subject: dynamic IPs
Next
From: "Michael R. Anderson"
Date:
Subject: dynamic IPs