generic db settings