setup db settings