Change password for mysql root user on debian


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



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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.