SHUTDOWN

The SHUTDOWN statement is used to perform a shutdown operation in TiDB. Execution of the SHUTDOWN statement requires the user to have SHUTDOWN privilege.

Synopsis

ShutdownStmt
SHUTDOWN

Examples

SHUTDOWN;
Query OK, 0 rows affected (0.00 sec)

MySQL compatibility

The SHUTDOWN statement is partly compatible with MySQL. If you encounter any compatibility issues, you can report a bug.

Was this page helpful?