Posted By

cphoover on 08/03/12


Tagged


Versions (?)

Adding/Changing/Ressetting MySQL User passwords


 / Published in: Other
 

  1. #to change mysql passwords:
  2.  
  3. #If you have never set a password:
  4. mysqladmin -u root password NEWPASSWORD
  5.  
  6. #if you are resetting a password:
  7. mysqladmin -u root -p'oldpassword' password newpass

Report this snippet  

You need to login to post a comment.