Initialize database settings