Fixes database settings for Flynn