Mega Code Archive

 
Categories / MySQL / User Permission
 

Setting a password for a user account other than the one you used to log on to the system

SET PASSWORD FOR 'user1'@'domain1.com' = PASSWORD('pw3');