Allow db_manager use of connections with no parameters

Fixes 'Error: database "" does not exist' message.
Closes bug #9037