I upgraded from Mohave to Big Sur and found that homebrew is not working any more. I installed the command line tools using the command
xcode-select --install
If you run brew upgrade
still meet the error, maybe you should run brew update
first.
My experience is:
1. brew update
2. brew doctor
3. brew upgrade
When I follow @andrmu instructions, I received an error stating Homebrew: Your CLT does not support macOS 11.0.
. I had to first follow the instructions to clean upgrade my command line tools as per the top answer on this issue, then it worked..
You should update brew;
brew update-reset
After brew upgrade this did the trick to avoid tmp/mysql.sock error. Use commandline command:
sudo chmod -R 0777 /usr/local/var/mysql/
You should update brew;
brew update-reset
I had the same problem. Try upgrading brew - this solved it for me.
brew upgrade