macOS 如何重启mysql

macOS中,mysql的安装目录是:/usr/local/opt/mysql

启动、重启、停止mysql的命令如下:

sudo /usr/local/opt/mysql/support-files/mysql.server start
sudo /usr/local/opt/mysql/support-files/mysql.server stop
sudo /usr/local/opt/mysql/support-files/mysql.server restart

发表评论

电子邮件地址不会被公开。 必填项已用*标注