Problems with JDBC

From: Saldivar <ic96013(at)solar6(dot)ingenieria(dot)uatx(dot)mx>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Problems with JDBC
Date: 1999-12-14 21:36:27
Message-ID: Pine.GSO.3.96.991214151514.7191A-100000@solar6.ingenieria.uatx.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

My name is Alejandro Saldivar, i'm from Mexico, please sorry my english
but i don't kown very good.

i try connect with Postgresql , this is installer in Sun, my data base is
equipo1a , but when i try connect with JDBC the computer show me a
message:

java.sql.SQLException: User authentication failed

my lines of code there are:

try{
String driverName ="postgresql.Driver";
Driver driver = (Driver )
Class.forName(driverName).newInstance();
Properties p =new Properties();

p.put("user","equipo1a");
p.put("password","saltbr99");


String dbURL="jdbc:postgresql://148.219.122.24:5432/equipo1a";
connection=driver.connect(dbURL,p);

my server is:148.219.122.24
my login:equipo1
my password is: saltbr99
my database is: equipo1a

well, is all, is you need more information please send me a e-mail, and if
ypu have the aswer please send me a e-mail.

thanks

A T E N T A M E N T E


Alejandro Saldivar Reyes
ic96013(at)solar6(dot)ingenieria(dot)uatx(dot)mx
sistemas(at)hovomex(dot)com(dot)mx
asaldivar(at)correoweb(dot)com


:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)
:) :) :) :) :) :) :)
:) :) :) :) :) :) :)
:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)
:) :) :) :) :) :) :)
:) :) :) :) :) :) :)
:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)

Browse pgsql-interfaces by date

  From Date Subject
Next Message Chris Carbaugh 1999-12-15 04:41:34 help installing pgaccess
Previous Message Szűcs Attila 1999-12-14 20:53:53 odbc