pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedProblem to connect to the server
2+ messages / 2 participants
[nested] [flat]
* Problem to connect to the server
@ 2006-09-21 13:22 Josef Springer <Josef.Springer@joops.com>
0 siblings, 1 reply; 2+ messages in thread
From: Josef Springer @ 2006-09-21 13:22 UTC (permalink / raw)
To: pgsql-odbc
Hi folks,
we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 /
31.1.2006.
My application can connect on the localhost but not to a remote server.
I have switched on the ODBC logging, but i cannot found why ?
The logfiles:
psqlodbc.780.log
DSN info:
DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
conn = 70792624, PGAPI_Connect(DSN='PostgreSQL', UID='OfficeTalk',
PWD='xxxxx')
Global Options: Version='08.01.0100', fetch=100, socket=0,
unknown_sizes=254, max_varchar_size=8190, max_longvarchar_size=70792752
disable_optimizer=1, ksqo=1, unique_index=1,
use_declarefetch=0
text_as_longvarchar=1, unknowns_as_longvarchar=0,
bools_as_char=1 NAMEDATALEN=64
extra_systable_prefixes='dd_;', conn_settings=''
conn_encoding='OTHER'
CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=201,
errmsg='Missing server name, port, or database name in call to CC_connect.'
------------------------------------------------------------
henv=70792568, conn=70792624, status=0, num_stmts=16
======================================================================
psqlodbc.1148.log
DSN info:
DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
DSN info:
DSN='PostgreSQL',server='SEIFERT',port='5432',dbase='OfficeTalk',user='postgres',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
Josef
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Problem to connect to the server
@ 2006-09-21 13:50 greg.campbell@us.michelin.com
parent: Josef Springer <Josef.Springer@joops.com>
0 siblings, 0 replies; 2+ messages in thread
From: greg.campbell@us.michelin.com @ 2006-09-21 13:50 UTC (permalink / raw)
To: Josef Springer <Josef.Springer@joops.com>; +Cc: pgsql-odbc
I it looks like you are using a DSN to connect, and it look like your DSN
does not have a specified server or database in the first log
(psqlodbc.780.log)
DSN info:
DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
therefore
errmsg='Missing server name, port, or database name in call to CC_connect.'
.
This seems a little obvious, so am I missing some facts?
Greg Campbell ENG-ASE/Michelin US5
Lexington, South Carolina
803-951-5561, x75561
Fax: 803-951-5531
greg.campbell@us.michelin.com
Josef Springer
<Josef.Springer@j
oops.com> To
Sent by: pgsql-odbc@postgresql.org
pgsql-odbc-owner@ cc
postgresql.org
Subject
[ODBC] Problem to connect to the
09/21/2006 09:22 server
Hi folks,
we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 /
31.1.2006.
My application can connect on the localhost but not to a remote server. I
have switched on the ODBC logging, but i cannot found why ?
The logfiles:
psqlodbc.780.log
DSN info:
DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
conn = 70792624, PGAPI_Connect(DSN='PostgreSQL', UID='OfficeTalk',
PWD='xxxxx')
Global Options: Version='08.01.0100', fetch=100, socket=0,
unknown_sizes=254, max_varchar_size=8190, max_longvarchar_size=70792752
disable_optimizer=1, ksqo=1, unique_index=1,
use_declarefetch=0
text_as_longvarchar=1, unknowns_as_longvarchar=0,
bools_as_char=1 NAMEDATALEN=64
extra_systable_prefixes='dd_;', conn_settings=''
conn_encoding='OTHER'
CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=201,
errmsg='Missing server name, port, or database name in call to CC_connect.'
------------------------------------------------------------
henv=70792568, conn=70792624, status=0, num_stmts=16
======================================================================
psqlodbc.1148.log
DSN info:
DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
DSN info:
DSN='PostgreSQL',server='SEIFERT',port='5432',dbase='OfficeTalk',user='postgres',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
Josef
Attachments:
graycol.gif (image/gif, 105B) download
view image
pic07965.gif (image/gif, 1.2K) download
view image
ecblank.gif (image/gif, 45B) download
view image
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-09-21 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-09-21 13:22 Problem to connect to the server Josef Springer <Josef.Springer@joops.com>
2006-09-21 13:50 ` greg.campbell@us.michelin.com
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