TEXT 31
Mysql root password reset Guest on 26th April 2021 05:39:41 AM
  1. kill/stop all mysql processes
  2.  
  3. safe_mysqld --skip-grant-tables &
  4.  
  5. mysql -u root mysql
  6.  
  7. UPDATE user SET Password=PASSWORD('YOUR_PASSWORD') WHERE Host='localhost' AND User='root';
  8.  
  9.  
  10. restart mysql server

Paste-bin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.