merge DB config into normal settings - this is another part of bug 415