mysql 是命令行程序,而mysqld是服务, 所以,启动mysql服务时要用mysqld systemctl start mysqld.service service stop mysqld d的全称是daemon ,即后台