Don't use db if not defined in config