[ANN] Alternate PostgreSQL interface update - a problem
marcelo Cortez
jmdc_marcelo at yahoo.com.ar
Wed Aug 31 18:27:16 UTC 2005
hi all
take a look at your pg_hba-conf file if your
conection is tagged with md5 ,kerberos .. o any
security protocol the postgresql framework don't
support this.
best regards
MDC
--- Emerson Murphy-Hill <emerson at cs.pdx.edu>
escribió:
> I tried the PostgreSQL interface, but can't connect
> to my database -
> perhaps someone can assist me. I don't have much
> practical database
> experience, so it's entirely possible I'm doing
> something wrong.
>
> I have connected the PostgreSQL 7.4.6 database fine
> with pgAdmin, so I
> don't think there's anything wrong on the server
> end. When trying to
> establish a simple connection in Squeak 3.8, I get
> the following error:
> "unknown message type," followed by a random
> character. My code looks
> like so:
>
> client := PSQLClient new host:
> 'db.cecs.pdx.edu';
> database: 'emerson';
> user: 'foo';
> password: 'bar',
> port: 5432.
> client establishConnection.
>
> I also can't get the same code working in
> Smalltalk/X, but only because
> ST/X doesn't have a Password class. But this was
> only a test - I intend
> to run this software in Squeak.
>
> Thanks in advance,
>
> Emerson
>
>
>
________________________________________________
¡Llamá y ganá!
Usá Yahoo! Messenger con Voz y participá del sorteo de un pasaje a cualquier lugar del mundo.
Inscribite aquí: http://messenger.yahoo.com/ar/
More information about the Squeak-dev
mailing list
|