MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0

13.7.7.9 SHUTDOWN Syntax

SHUTDOWN

This statement stops the MySQL server. It requires the SHUTDOWN privilege.

SHUTDOWN provides an SQL-level interface to the same functionality available using the mysqladmin shutdown command.