Adds functionality to connect to databases hosted on the sites local db server, refs #5286