Fix to prevent allowing changes to db settings ia installation once a db connection is in place (auto-switch to upgrade)