How to fix homebrew permissions?

I was able to solve the problem by using chown on the folder: sudo chown -R “$USER”:admin /usr/local Also you’ll (most probably) have to do the same on /Library/Caches/Homebrew: sudo chown -R “$USER”:admin /Library/Caches/Homebrew Apparently I had used sudo before in a way that altered my folder permission on /usr/local, from here on forward all … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)