Better error handling when the database doesnt exist