config db for server