Move database settings to local