Change password for mysql root user on debian


/ Published in: SQL



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.