首页 > 代码库 > mac下停止和启动mysql命令

mac下停止和启动mysql命令

启动MySQL服务
sudo /usr/local/MYSQL/support-files/mysql.server start
 
停止MySQL服务
sudo /usr/local/mysql/support-files/mysql.server stop
 
重启MySQL服务
sudo /usr/local/mysql/support-files/mysql.server restart

mac下停止和启动mysql命令