in reply to Re: DBI user input question
in thread DBI user input question

Still doesn't help me. What it does is disconnects and terminates the script upon error. Is there even a way to prompt the user to enter the credentials again without having to re-execute the program?

Replies are listed 'Best First'.
Re^3: DBI user input question
by Corion (Patriarch) on May 15, 2012 at 13:03 UTC

    Please show a short but complete program (with the user credentials elided!) that replicates the problem. Also show us the error message you get and the behaviour you expect. This helps us help you better, because we can then diagnose what error happens and maybe reproduce your situation.

    The DBI documentation says that ->connect returns undef on failure, so your error must be somewhere else.