Fix incorrect database settings