brew services stop mysql@5.7

brew services restart mysql@5.7

 

do not log in with

mysql -uroot

This should only be used when setting up mysql

 

 

ps aux | grep mysql


brew services stop mysql

mysql.server stop

 

mysql.server start --skip-grant-tables

 
sudo mysql

UPDATE mysql.user SET Password=PASSWORD('pass') WHERE User='root';
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pass';