在Mac OSX启动和停止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 OSX启动和停止MySQL服务的命令)