old db config