proper DB config