get db and collection params from cfg file