add db base setings.