MySQL: Change Password

  • Replace {passwd} with the password of the user.
  • Replace {user} with the name of the user.

Change Password

GRANT USAGE ON * . * 
TO '{user}'@'%' 
IDENTIFIED BY '{passwd}' ;