From: | "david toribio" <david(at)kaos(dot)es> |
---|---|
To: | <pgsql-ayuda(at)campus(dot)iztacala(dot)unam(dot)mx> |
Subject: | problema sql |
Date: | 1998-09-08 16:04:22 |
Message-ID: | 00d301bddb42$583c1920$0b01a8c0@david.kaos.es |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Hola,
He desarrollado una aplicación en delphi para win95 basado en archivos dbf,
para hacerla algo mas potente y rapida he pensado cambiar la base de datos
por un servidor como postgresql.
Para ello he instalado suse 5.2 y el postgresql que trae de serie. con el
psql que trae me ha funcionado bien pero desde win95 no he logrado
conectarme a la base de datos.
El mensaje que me da es algo asi como:
ERROR from backend during authentication: 'Failed to authenticate client as
Postgres user 'prueba' using <unknown authentication type>: be_recvauth:
unrecognized message type: 65536
El fichero pg_hba.conf:
host all 0.0.0.0 0.0.0.0 trust
¿alguien tiene alguna idea de que es lo que hago mal?
P.D. El driver odbc que uso me crea el siguiente fichero
conn=62785660, SQLDriverConnect(
in)='DSN=PostgreSQL;UID=prueba;PWD=prueva;DATABASE=dbprueba;',
fDriverCompletion=0
DSN info:
DSN='PostgreSQL',server='192.168.1.2',port='5432',dbase='dbprueba',user='pru
eba',passwd='prueva'
readonly='1',protocol='',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings=''
translation_dll='',translation_option=''
conn=62785660,
SQLDriverConnect(out)='DSN=PostgreSQL;DATABASE=dbprueba;SERVER=192.168.1.2;P
ORT=5432;UID=prueba;PWD=prueva;READONLY=1;PROTOCOL=;FAKEOIDINDEX=0;SHOWOIDCO
LUMN=0;ROWVERSIONING=0;SHOWSYSTEMTABLES=0;CONNSETTINGS='
Global Options: fetch=100, socket=4096, unknown_sizes=0,
max_varchar_size=254, max_longvarchar_size=4094
disable_optimizer=1, unique_index=0, use_declarefetch=1
text_as_longvarchar=1, unknowns_as_longvarchar=0,
bools_as_char=1
extra_systable_prefixes='dd_;', conn_settings=''
ERROR from backend during authentication: 'Failed to authenticate client as
Postgres user 'prueba' using <unknown authentication type>: be_recvauth:
unrecognized message type: 65536
'
CONN ERROR: func=SQLDriverConnect, desc='Error from CC_Connect', errnum=10,
errmsg='Failed to authenticate client as Postgres user 'prueba' using
<unknown authentication type>: be_recvauth: unrecognized message type:
65536
'
------------------------------------------------------------
henv=63832196, conn=62785660, status=0, num_stmts=16
sock=63832212, stmts=63832252, lobj_type=-999
---------------- Socket Info -------------------------------
socket=34, reverse=0, errornumber=0, errormsg='(null)'
buffer_in=62791952, buffer_out=62796052
buffer_filled_in=141, buffer_filled_out=0, buffer_read_in=141
___________________________________________
KAOS on-line
Tlf: +34 93 274 50 90 Fax: +34 93 346 28 90
mailto:david(at)kaos(dot)es http://www.kaos.es
____________________________________________
--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo(at)tlali(dot)iztacala(dot)unam(dot)mx
text : cancelacion pgsql-ayuda
From | Date | Subject | |
---|---|---|---|
Next Message | raul garcia_quintana | 1998-09-08 18:39:34 | Re: problema sql |
Previous Message | CarlSerra | 1998-09-08 13:38:41 | Ejercicios en Java y Postgresql |