From: | Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk> |
---|---|
To: | "'Jaume Pausas'" <a1649(at)dis(dot)ulpgc(dot)es>, pgsql-interfaces(at)postgresql(dot)org |
Subject: | RE: [INTERFACES] what´s for password ? (JDBC) |
Date: | 2000-02-03 14:41:27 |
Message-ID: | 1B3D5E532D18D311861A00600865478C70C15F@exchange1.nt.maidstone.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
in the PGDATA directory on the server theres a file called pg_hba.conf
Read the instructions in that file, and change the auth type from trust
to either password or crypt.
I personally use crypt for any reference that goes over the network
cable.
Peter
-----Original Message-----
From: Jaume Pausas [mailto:a1649(at)dis(dot)ulpgc(dot)es]
Sent: Thursday, February 03, 2000 2:17 PM
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: [INTERFACES] what´s for password ? (JDBC)
Hi
Why when I use a getConnection(url,user,password) if I put any password
it connect?
Supose that a I have a db named felp and the create of it is jupito with
the password lolo
If i put : getConnection("jdbc:postgresql:felp","jupito","nolose"); it
connect!. Why? doesn´t it the correct password!
************
From | Date | Subject | |
---|---|---|---|
Next Message | Nicolas Huillard | 2000-02-03 14:44:18 | RE: [INTERFACES] Access 2000 and ODBC |
Previous Message | Jaume Pausas | 2000-02-03 14:17:28 | whats for password ? (JDBC) |