Subject | Re: Can't open connection |
---|---|
Author | local_user5 |
Post date | 2004-08-30T06:01:42Z |
> Driver opens socket connection using standard Java capabilities, soit
> should not be a problem then. Try to write small Java applicationto open
> connection using plain Java client sockets. If it wokrs, andJayBird still
> does not, I have no idea :(Roman, thank you for the reply again.
I tried this code:
try {
Socket testSocket = new Socket(InetAddress.getByName("localhost"),
3050);
} catch(Exception e) {
System.err.println(e);
return;
}
and it works good. No exception generated.
> Also try following URL (you need jaybird.dll for this, that's type2 JDBC
> driver.)OK. I'll try this.
>
> jdbc:firebirdsql:native://localhost/e:/data/data.gdb
> > Regarding Firebird-support: It's possible to connect to FirebirdPASSWORD 'masterkey';
> > normally with isql even when no Internet connection, so what may I
> > say them ? :-)
>
> Do you try
>
> CONNECT 'localhost:e:/data/data.gdb' USER 'sysdba'
>You mean use these lines in ISQL connection ?
> or just
>
> CONNECT 'e:/data/data.gdb' USER 'sysdba' PASSWORD 'masterkey';
I also checked JayBird driver on another computer with an Ethernet
network card connected to Internet through a local network. And it
works independently on the network cable. So even when cable is
unplugged driver works.
But on the computer with a DialUp connection JayBird doesn't work
when DialUp is disconnected.