brew remove mysql
brew cleanup
brew install mysql
启动 brew services start mysqlmysql
brew services start mysql
设置开机启动 launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plistweb
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
获取相关信息 brew info mysqlsql
brew info mysql
登陆 mysql -urootsvg
mysql -uroot