pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Long <justinlong@mail.strategicnetwork.org>
To: pgsql-interfaces@postgresql.org
Subject: ODBC to access POSTGRESQL on LINUX - take 2
Date: Mon, 24 May 1999 15:19:26 -0400
Message-ID: <000001bea61a$56b02ee0$0a411a9f@cbn.org> (raw)

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='Could not 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




Message-ID: <000001bea61a$56b02ee0$0a411a9f@cbn.org>
Permalink:  ../000001bea61a$56b02ee0$0a411a9f@cbn.org/
Also on:    postgresql.org/message-id/000001bea61a$56b02ee0$0a411a9f@cbn.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: justinlong@mail.strategicnetwork.org
  Subject: Re: ODBC to access POSTGRESQL on LINUX - take 2
  In-Reply-To: <000001bea61a$56b02ee0$0a411a9f@cbn.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox