Hi,

I am trying to use Derby (infact from the JavaDB package), on WinXP. I have
run the Network Server, using the script (batch file) in one window. In
another window, I am using "ij". While I can connect to the server using
following commands:-

ij> CONNECT 'jdbc:derby:/firstdb';
ij> CONNECT 'jdbc:derby:firstdb';

however, using the following set of commands, I cannot --

ij> CONNECT 'jdbc:derby://localhost/firstdb';
ij> CONNECT 'jdbc:derby://localhost:1527/firstdb';
ij> CONNECT 'jdbc:derby://localhost:1527/firstdb;user=usr';

For a DB, that has already been created earlier using --

ij> CONNECT 'jdbc:derby:firstdb;create=true';

Could someone please explain why, or point me to documentation on this. In
the reference-guide, I did see an example where the DB connection URI is
indeed of the form which doesn't work, however the example was not in the
context of the security settings !

thanks,
bdutta

Reply via email to