Made it possible to disable the database by setting host to blank