📜  brew reinstall mysql - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:11.263000             🧑  作者: Mango

代码示例1
# To uninstall
brew uninstall mysql@5.7
rm -rf /usr/local/var/mysql
rm /usr/local/etc/my.cnf
# To Reinstall
brew install mysql@5.7
brew link --force mysql@5.7
brew services start mysql@5.7