How to change MySQL user password?

Daniel Urstöger
14-06-2012 15:49

Connect to your database and run the following command:

 update mysql.user set password=PASSWORD("ENTER-PASSWORD-HERE") where User='ENTER-USERNAME';

 
After that you might want to run:

flush privileges;

 

Average rating: 0 (0 Votes)

You cannot comment on this entry