Skip to content

Instantly share code, notes, and snippets.

@the-teacher
Created April 12, 2016 08:01
Show Gist options
  • Save the-teacher/195c793d8116819b75106344c4a5af2e to your computer and use it in GitHub Desktop.
Save the-teacher/195c793d8116819b75106344c4a5af2e to your computer and use it in GitHub Desktop.
How to fix Brew for Second Admin user
sudo chown -R $(whoami):admin /usr/local/
sudo chown -R $(whoami):admin /Library/Caches/Homebrew
@the-teacher
Copy link
Author

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