Configure db settings