⟩ How To Shut Down the Server with "mysqladmin"?
If you want to shut down the server with "mysqladmin", you can use the command "mysqladmin shutdown" as shown in the following tutorial example:
>cd mysqlin
>mysqladmin -u root shutdown
If this command returns no messages, your MySQL server should be terminated successfully.