Peter Mount wrote:
> Even though you are using trust, are you supplying a password to the
> Passing null or "" as a password doesn't work. As long as the password
> exists (doesn't have to be correct for trust authentication) it should
> Peter T Mount, Enterprise Support
> Anything I write here are my own views, and cannot be taken as the
> official words of Maidstone Borough Council
> -----Original Message-----
> From: Alex Turner [mailto:aturner(at)maaco(dot)com]
> Sent: Thursday, May 20, 1999 9:31 PM
> To: benoit(at)ooc(dot)com
> Cc: pgsql-interfaces(at)postgreSQL(dot)org
> Subject: Re: [INTERFACES] JDBC from remote
> Well... I have the line:
> host all 0.0.0.0 0.0.0.0 trust
> in the pg_hba.conf file...
> But I still can't seem to get remote authentication..
> Any ideas?
> Benoit Foucher wrote:
> > Hi Alex,
> > You may have a look at pg_hba.conf to see if the remote host is
> > to access your database (this file is in the data directory of your
> > server).
> > Regards,
> > Alex Turner wrote:
> > >
> > > Well.. now I have my JDBC driver working with PostgreSQL I have run
> > > another problem.
> > >
> > > Whenever I try to connect from a remote site, I get an
> > > failure. This has happens whatever user I try (I have created two
> > > addition to the dba). The database I am try to gain access to is
> > > currently empty, I don't know if this is a problem, but I can access
> > > at localhost fine :(
> > >
> > > Hope someone can help
> > >
> > > Alex T
public boolean makeConnection(String url,String usr,String pwd)
System.out.println("Attempting to forge connection to
is the head of what I have trying to connect to the DB.
I am running java -Djdbc.drivers=postgresql.Driver <programme>
and postmaster -i &
It's picking up the DB file because I can connect using psql tool localy,
and the code works when I connect just to localhost?
Hope you can help
In response to
pgsql-interfaces by date
|Next:||From: Thomas Lockhart||Date: 1999-05-21 12:59:40|
|Subject: Re: [INTERFACES] problem with postgres example databse package install|
|Previous:||From: José Soares||Date: 1999-05-21 12:20:54|
|Subject: Re: [INTERFACES] lock row|