How can I shutdown MySQL Server?

MySQLMySQLi Database

With the help of ‘mysqladmin’ program we would be able to shutdown our MySQL server. It can be used as follows on command line −

C:\mysql\bin>mysqladmin -u root shutdown

We will see nothing after entering the above command because it will not print any message in command window. We should have to trust that MySQL server has been shutdown properly.

Updated on 20-Jun-2020 11:18:42