Mysql: Change User Password


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

Change a user password


Copy this code and paste it in your HTML
  1. UPDATE mysql.user SET Password=PASSWORD('password') WHERE USER='username';
  2. FLUSH PRIVILEGES;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.