Friday, December 05, 2008

Setting a user's password in MySQL

I've recently found the need to change a bunch of passwords in MySQL. The command to do it is as follows :

SET PASSWORD FOR 'myuser'@'%.wherever.com' = PASSWORD('newpass');


You can also read the documentation on the MySQL website.

No comments:

Post a Comment