I’ve been using homebrew to start and stop MySQL, but, it randomly stopped working, and keeps giving the acess Denied for User ‘root’@’localhost’ (using password: YES).
I’m 100% sure the password is right, and sudo mysql -uroot -p and other variants haven’t been working. Also I can’t access MySQL mode in the ternimal without doing MySQL -u root -p,which causes the issue. Also I am using mac. Thanks!
New contributor
Carlos Brewer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.