Differences

This shows you the differences between two versions of the page.

Link to this comparison view

recover_the_root_password [2020/10/07 17:33]
bgfdsuperadmin created
recover_the_root_password [2020/10/09 10:50] (current)
bgfdsuperadmin
Line 5: Line 5:
  
   - ''sudo service mysqld stop''   - ''sudo service mysqld stop''
-  - ''sudo mysqld_safe --skip-grant-tables &''+  - ''sudo mysqld_safe %%--%%skip-grant-tables &''
   - ''sudo mysql'' \\ then in MySQL   - ''sudo mysql'' \\ then in MySQL
   - ''UPDATE mysql.user SET password=PASSWORD('new-password') WHERE user='root';''   - ''UPDATE mysql.user SET password=PASSWORD('new-password') WHERE user='root';''