Created
April 12, 2016 08:01
-
-
Save the-teacher/195c793d8116819b75106344c4a5af2e to your computer and use it in GitHub Desktop.
How to fix Brew for Second Admin user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown -R $(whoami):admin /usr/local/ | |
sudo chown -R $(whoami):admin /Library/Caches/Homebrew |
ps aux | grep post
sudo kill -9 PID
ALTER USER 'root'@'localhost' IDENTIFIED BY 'qwerty', 'root'@'localhost' PASSWORD EXPIRE NEVER;
ALTER USER 'the-teacher'@'localhost' IDENTIFIED BY 'qwerty', 'the-teacher'@'localhost' PASSWORD EXPIRE NEVER;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo rm /tmp/.s.PGSQL.5432
sudo rm /tmp/.s.PGSQL.5432.lock