Adding/Changing/Ressetting MySQL User passwords


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.