My Oracle Support Banner

How To Shutdown MySQL ? (Doc ID 2863531.1)

Last updated on MAY 22, 2022

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.


How to shut down MySQL service ?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 First Ensure what is the value of innodb_fast_shutdown
 How to shutdown MySQL on Windows
 Using Windows services
 Using mysqadmin
 Using MySQL SHUTDOWN command (MySQL 5.7.9+)
 How to shutdown MySQL on Linux
 using  SIGTERM signal
 Shutdown MySQL Service using systemctl
 Using  System V systems
 Using mysqadmin

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.