Change a MySQL user password

Contributor Icon Contributed by qmchenry  
Tag Icon Tagged: MySQL  

How do I update a user’s password in my MySQL server?


For the user molly to change her password to TrckTrt, she would run this command from the shell:

mysqladmin -u molly -p password TrckTrt

The mysqladmin program will prompt for the old password.

 

1 Comment -


  1. no one said on April 17, 2009

    WTF… lol

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -