修改配置文件 /Library/LaunchDaemons/com.Oracle.oss.mysql.mysqld.plist 增加<string>--port=你的端口</string> 转载于:https://my.oschina.net/kolnick/blog/1524272