第一步:安裝brew:mysql
http://brew.sh
sql
1. 安裝mysql:code
brew doctor brew update brew install mysql unset TMPDIR mysqld -initialize --verbose --user=whoami --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp mysql.server start brew services start mysql /usr/local/Cellar/mysql/5.7.16/bin/mysqladmin -uroot password 'new password'
2. 安裝升級百度雲盤:server
brew cask search baidu brew cask install baidunetdisk brew cask upgrade badidunetdisk