Subject Re: Connection hang on connecting to the database.
Author rrokytskyy
--- In Firebird-Java@y..., Chuck.Li@l... wrote:
> I just installed a firebird database and I was able to create
> database using IBConsole and create tables.
> When I tried to connect to the database using
> interbase.interclient.Driver, the connection hang on
> java.sql.DriverManager.getConnection(dbURL, user,
> password).
> dbURL is: jdbc:interbase://<machinename or
> localhost>:3050/C:\jdb\TEST.GDB.
> I am using Windows 2000 and the database and the java program are
> actually on the same machine.
> I wonder what could be wrong with my installation and/or database
> setup.

URL should be:


If you use '\' do not forget to escape it, but InterClient is happy
with '/' even on Windows. Also do not forget to start InterServer on
the same host with database server. It listens on port 3060. This is
the standard port for InterClient. Port 3050 belongs to Firebird
server, not InterClient.

Best regards,
Roman Rokytskyy