set db config