|
Re: Posgresql - openoffice-JDBC: msg#00245db.postgresql.jdbc
On Wed, 26 Jun 2002 09:10:38 -0500 Glenn Holmer <gholmer@xxxxxxxxxxxxxx> wrote: > Timothy Reaves wrote: > > On Tue, 25 Jun 2002 07:53:40 -0500 > > Glenn Holmer <gholmer@xxxxxxxxxxxxxx> wrote: > > > > > >>I can't get that to work. I added (in our case) > >> > >>/java/postgresql/pgjdbc2.jar > >> > >>to the end of the SystemClasspath line, then started OpenOffice and > >>entered a data source of (again, for our case) > >> > >>jdbc:postgresql://miranda:5432/catalog > >> > > > > > > Where did that driver come from? > > jdbc.postgresql.org > > > Also, the 5432 is redundent. > > But not harmful, yes? > > > > > Have you tried connecting to a local db? > > You mean on my machine using "localhost"? Yes, same story. BTW, > the database on "miranda" is a production database which a Java > program uses, so it's not a Postgres issue. Correct; it will not harm to specify the port. The jdbc driver I use is not the one directly available from the jdbc site, but is the one that ships with PostgreSQL itself. Unfortunatly I have found that there are at least thre different ODBC & three different JDBC drivers. The ODBC shiped with PostgreSQL did not work - I use the one from unixODBC, but the jdbc does work. Perhaps try that driver. Does the postmaster log file show anything from when you attempt to connect? Also, try the local connect string: jdbc:postgresql:databasename when the db is local, no host name is needed. ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | DBVisualizer Null Pointer Exception: 00245, Robert Treat |
|---|---|
| Next by Date: | jxdbcon JDBC driver: 00245, Nadim Bitar |
| Previous by Thread: | Re: Posgresql - openoffice-JDBCi: 00245, Glenn Holmer |
| Next by Thread: | latest 7.2 drivers: 00245, Ackley, Ryan S |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |