Same as my last comment, this might need to be caught so that there is no risk of leaking the database username/pass.