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.

Goal

How to shut down MySQL service ?
 

Solution

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
Goal
Solution
 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


 
https://dev.mysql.com/doc/refman/8.0/en/using-systemd.html
 https://dev.mysql.com/doc/refman/8.0/en/server-shutdown.html
 Using  System V systems
 Using mysqadmin
 
 
References


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