“IDENTIFIED BY ‘password'” in MySQL
GRANT is meant for adding privileges to users. Confusingly, it also has the ability to create users and change their passwords. This functionality is deprecated and should not be used. If you use GRANT with IDENTIFIED you can change the user’s password: When IDENTIFIED is present and you have the global grant privilege (GRANT OPTION), … Read more