mysqladmin -u root -p shutdown
时间: 2023-10-24 11:34:39 浏览: 92
启动关闭MySQL服务
This command is used to shut down the MySQL server using the mysqladmin utility. "-u root" specifies the username as root, "-p" prompts for the password, and "shutdown" is the command to be executed. Once executed, the MySQL server will be shut down. It is important to note that this command should only be used if necessary, as shutting down the server will interrupt any active connections or processes.
阅读全文