Skip to content
Switched On Tech Design

Switched On Tech Design

Websites and SEO

  • Drupal
  • ZFS
  • SEO
  • Content creation
  • Webserver Management
  • Articles
  • Contact Us
Posted on January 9, 2013January 9, 2013 by sotech

MySQL: Changing the root user’s password

  If you need to change the MySQL root user’s password use the following from a command prompt:  
mysqladmin -u root -p password NEWPASSWORD
  Enter the current root password when prompted and replace NEWPASSWORD with the desired password. This should return you to the command prompt, and you can test whether it was successful by logging in:  
mysql -u root -p

Related posts:

  1. MySQL: How to log in
  2. How to change a user’s password in Mediawiki
  3. MySQL: How to create a database
  4. How to reset a user password in Windows without knowing the original password
CategoriesMySQL Tagschange, login, mysql, password, root

Post navigation

Previous PostPrevious ESXi: Entering and exiting maintenance mode via command line
Next PostNext New Intel Motherboard in-house: S1200KPR Mini-ITX Server board

Search

Categories

Proudly powered by WordPress