set local db variables