安裝 啟動Mysql服務 設置開機啟動 ...
安裝
brew install mysql
啟動Mysql服務
mysql.server start
設置開機啟動
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/mysql/<Mysql版本號>/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist