DB connect functions expect config object instead of app object.