From: | Natali Kolker <natali(at)u(dot)washington(dot)edu> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Question about jdbc |
Date: | 1998-06-12 16:52:25 |
Message-ID: | 35815CC9.E1C8A55B@u.washington.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I compiled JDBC sources , that comes with version 6.3 .
When I am trying to connect to data base ,
"DriverManager.getConnection("jdbc:postgresql://haver:5432/natali",
"natali", "Elina);"
I got a response:
>
> java.sql.SQLException: User authentication failed
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.sql.SQLException.<init>(Compiled Code)
> at postgresql.Connection.<init>(Compiled Code)
> at postgresql.Driver.connect(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at db.init_database(Compiled Code)
> at db.main(Compiled Code)
>
My jdbc drivers in dir $CLASSPATH/postgresql,
I created my database with command:
createdb -u natali
Username : natali,
Password: Elina
In perl I write : $conn = Pg::connectdb("dbname = natali");,
and I have connection.
If somebody can help me , with my " authentification" problem , I would
really appriciate it.
Natali Kolker
--
--------------------------------------------------------------------
Natali Kolker
Dept of Molecular Biotechnology, Box 357730 Tel: +1-206-685-7334
University of Washington School of Medicine Fax: +1-206-685-7301
Seattle, WA 98195-7730, USA natali(at)u(dot)washington(dot)edu
From | Date | Subject | |
---|---|---|---|
Next Message | eric | 1998-06-12 17:48:49 | Authentication problem |
Previous Message | Jackson, DeJuan | 1998-06-12 16:28:49 | RE: [GENERAL] crypt compile error |