Change a MySQL user password

Contributor Icon Contributed by qmchenry Date Icon October 12, 2003  
Tag Icon Tagged: MySQL


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.

Previous recipe | Next recipe |
 
  • no one
    WTF... lol
blog comments powered by Disqus