in reply to Re^2: Error connecting to Derby DB
in thread Error connecting to Derby DB

Then why do you ignore the error you get? Resolve

DBI connect('hostname=localhost;port=1527;url=jdbc:derby:mydb%3Bsecuri +tyMechanism%3D8','myuser',...) failed: I/O Error 001bd00200010015124 +c0006114900080006000c00000005114a03 at tmp.pl line 9

This is an error raised by the Derby DB or the Derby database driver. We cannot help you there.

Replies are listed 'Best First'.
Re^4: Error connecting to Derby DB
by jainprithviraj (Initiate) on Apr 10, 2011 at 08:36 UTC

    But I am able to connect to Derby DB out of my perl script.It is only through my script that I am seeing this error. And so I thought of requesting a help in Perlmonks.

      I assume you mean to say:

      But I am able to connect to Derby DB outside of my perl script.

      Then you have to debug what goes wrong. Maybe your encoding of SecurityMechanism is wrong. Maybe the hostname is wrong. Maybe the port number is wrong. Maybe the database driver is buggy. What does the documentation for the Derby DB DBD say on how to connect? What does it say about the error number you get? Have you contacted their technical support?