OSX How to Reset forgotten password


Cristina Llamas

  1. we need to stop the mysql server
  2. sudo /usr/local/mysql/bin/mysqld_safe –skip-grant-tables
  3. from a different bash tab /usr/local/mysql/bin/mysql mysql
  4. Once we login in mysql we have to type ‘UPDATE user SET Password=PASSWORD(‘yourpass’) WHERE Host=’localhost’ AND User=’root’;’ 

View original post