All Products
Search
Document Center

ApsaraDB RDS:Why is the "mysqld:Sort aborted:Server shutdown in progress" error returned in an ApsaraDB RDS for MySQL instance?

Last Updated:Mar 28, 2026

If you see mysqld:Sort aborted:Server shutdown in progress in your instance's error log, no action is required. The error is benign and results from one of two known scenarios described below.

Where to find the error

The error appears in Log Management > error log in the Alibaba Cloud Management Console.

Error message

Causes

  1. The instance restarted while a sort operation was in progress. When an instance restarts, any query performing a sort operation is interrupted. This is expected behavior.

  2. A query session was terminated during a sort operation. If you used the KILL command or the Data Management Service (DMS) instance session management feature to end a session that was actively sorting, MySQL logs this error. This is a known MySQL bug (MySQL bug #18256) and has no functional impact on your instance.

Resolution

No action is required for either cause:

  • Cause 1 (instance restart): The interruption is expected behavior and can be ignored.

  • Cause 2 (session terminated): The error is a MySQL bug with no functional impact. It can be safely ignored.