Re: can't access database from servlet

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: <Dave(at)micro-automation(dot)net>, "'Sanjeev Rathore'" <intmail2002(at)yahoo(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: can't access database from servlet
Date: 2002-01-03 13:47:58
Message-ID: NEBBLAAHGLEEPCGOBHDGAEDPECAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


> One thing right away is the url for the database connection should be
> "jdbc:postgresql://hostname/dbname"
> Where hostname could be localhost

If hostname is omitted, localhost is assumed, so I don't think that's the
problem. (Also, he was able to succesfully get the dbmd = db.getMetaData();
statement to execute, so he must be connected.

-Nick

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2002-01-03 13:55:14 Re: can't access database from servlet
Previous Message Nick Fankhauser 2002-01-03 13:41:58 Re: can't access database from servlet