systemctl restart mysql

答案解析

重启MySQL服务,常用于配置变更后生效。