base database setting