Mega Code Archive

 
Categories / MySQL / User Permission
 

Set the root password

UPDATE user SET password = PASSWORD('secret') WHERE user = 'root'