Change the MySQL Root User Password

Posted August 30, 2003 by Quinn McHenry in MySQL

Simple command for Changing the root user password for MySQL using mysqladmin.


To change the MySQL root password to PaSsWoRd, use:

mysqladmin -u root password PaSsWoRd

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.