set local db settings