Re: DBvisualizer on MacOS X

From: "Joe Shevland" <jshevland(at)j-elite(dot)com>
To: "thiemo" <thiemo(at)gmx(dot)ch>, "pgJDBC" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: DBvisualizer on MacOS X
Date: 2002-03-13 22:02:43
Message-ID: HEECIHEEJDBMCCGMGIOBAEKECFAA.jshevland@j-elite.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

Maybe just a typo:

URL: jdbc:postgresql//192.168.0.253:8000/template1

but you need a colon after 'postgresql' e.g. 'jdbc:postgresql://...' as JDBC will parse the URL looking for the 'postgresql' and not find it... your TCP port number should be fine to leave at 8000 (begs the question why tho ;) as long as its reflected in the URL, but if you want to change it, put this (or uncomment it) in the postgresql.conf file:

port = 5432

Cheers,
Joe

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org [mailto:pgsql-jdbc-owner(at)postgresql(dot)org]On Behalf Of thiemo
Sent: Wednesday, 13 March 2002 18:10
To: pgJDBC; pgGeneral
Subject: [JDBC] DBvisualizer on MacOS X

Hello,

I try to connect to a PostgreSQL 7.2 db with DB-Visualizer 2.1 on MacOS X (well , the DB is on SuSE), but get the following message:
"No suitable driver.
There is no driver that can handle a connection for the
specified URL. The most common reason is that the driver
is not in the CLASSPATH or among the list of dynamically
loaded drivers. Also check that the URL is correct spelled."

My settings are:
"Database Alias: Template1
JDBC Driver: org.postgresql.Driver
URL: jdbc:postgresql//192.168.0.253:8000/template1
Userid
postgres
pasword *****"

I have loaded, as can be seen, the jdbc driver. But couldn't find the file dbvis.lax to integrate it into its class path. BTW, I have compiled postgres myself with option port 8000. Does anyone happen to know how I can fix this?

Thx

Thiemo

--
Thiemo Kellner
Tösstalstrasse 146
CH-8400 Winterthur

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Ben-David 2002-03-13 22:23:35 Re: Connection handling of Postgre under PHP
Previous Message Fran Fabrizio 2002-03-13 22:01:44 Re: Function created yet not found

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jessica Perry Hekman 2002-03-14 01:55:09 Re: implementing query timeout
Previous Message thiemo 2002-03-13 21:47:01 Re: [JDBC] Fwd: DBvisualizer on MacOS X