Thread: 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!
Jaume Pausas wrote: >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! Passwords are not necessarily used; they need to be configured in $PGLIB/pg_hba.conf -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 ======================================== "O come, let us worship and bow down; let us kneel before the LORD our maker." Psalms 95:6