Configure database settings