The server shutdown process performs the following steps:
- The shutdown process is initiated: There are several ways to initialize the shutdown process. Execute the mysqladmin shutdown command which can be executed on any platform. There are some system specific ways to initialize the shutdown process; for example, Unix based systems will start to shut down when it receives a SIGTERM signal. In the same way, Window based systems will start to shut down when the service manager tells them to.
- The server creates a shutdown thread if necessary: Based on the shutdown initialization process, the server will decide to create new thread or not. If it is requested by the client, a new thread will be created. If a signal ...