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

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.

Replies are listed 'Best First'.
Re^5: Error connecting to Derby DB
by Corion (Patriarch) on Apr 10, 2011 at 08:46 UTC

    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?