combine db and conf