using the correct db conf vars