Set correct database settings