mac安裝mysql流程
阿新 • • 發佈:2020-10-22
安裝brew(已有省略詞步) /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 執行輸入1 安裝完成執行brew檢測是否安裝成功
安裝mysql
1、執行安裝命令
brew install mysql
2、安裝完後啟動mysql
mysql.server start
3、執行安全設定
mysql_secure_installation
顯示如下
There are three levels of password validation policy: LOW Length>= 8 MEDIUM Length >= 8, numeric, mixed case, and special characters STRONG Length >= 8, numeric, mixed case, special characters and dictionary file
按照提示選擇密碼等級,並設定root密碼
http://blog.itpub.net/30936525/viewspace-2016528/ //友情連結有詳細密碼設定步驟詳解
參考連結
https://blog.csdn.net/yuanshangshenghuo/article/details/106599836 //安裝brew
https://www.jianshu.com/p/4fc53d7d7620 // 安裝mysql
http://blog.itpub.net/30936525/viewspace-2016528/ //友情連結有詳細密碼設定步驟詳解