Set db config