Log på med Microsoft
Log på, eller opret en konto.
Hej
Markér en anden konto.
Du har flere konti
Vælg den konto, du vil logge på med.
Engelsk
Vi beklager. Denne artikel er ikke tilgængelig på dit sprog.

Symptoms

Assume that you use SQL Server 2017 on Linux. When you install or uninstall a SQL Server cumulative update, some upgrade or downgrade scripts (sqlscriptupgrade.dll or sqlscriptdowngrade.dll in the script .dll file) aren't executed as expected. Therefore, the database schemas are not upgraded or downgraded correctly.

Note When you install this cumulative update, the upgrade script in this update is executed. However, previous cumulative updates still behave the same way. Therefore, we recommend that you avoid applying any cumulative update earlier than this update.

Resolution

This fix is included in Cumulative Update 4 for SQL Server 2017.

About SQL Server 2017 builds

Each new build for SQL Server 2017 contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for SQL Server 2017.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More information

Starting with this update, SQL Server Agent is automatically installed together with SQL Server. A separate installation of the mssql-server-agent package is no longer required (or possible). SQL Server Agent is disabled by default. To enable it, run the following configuration command:

mssql-conf set sqlagent.enabled true

To disable the Agent, run:

mssql-conf set sqlagent.enabled false

Or, the environment variable MSSQL_AGENT_ENABLED can be set to True or False to enable or disable the Agent, respectively.

Note The new setting will not take effect until SQL Server is restarted.

If you upgrade an older version of SQL Server, the mssql-server-agent package, if present, will be automatically uninstalled, and SQL Server Agent will be enabled. If the SQL Server Agent package is not present during the update, SQL Server Agent will remain disabled.

When SQL Server Agent is disabled, its configuration is not removed, and its jobs remain untouched. Re-enabling SQL Server Agent will bring it to the same state as before it was disabled.

References

Learn about the terminology Microsoft uses to describe software updates.

Har du brug for mere hjælp?

Vil du have flere indstillinger?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Var disse oplysninger nyttige?

Hvad påvirkede din oplevelse?
Når du trykker på Send, bliver din feedback brugt til at forbedre Microsoft-produkter og -tjenester. Din it-administrator kan indsamle disse data. Erklæring om beskyttelse af personlige oplysninger.

Tak for din feedback!

×