add select db from config