Monday, September 24, 2012
11:02 PM

Changing mySQL root password

Here, we assume that the root password of mySQL is known. This tutorial has nothing to do with resetting forgotten root password. If we already know the root password of a mySQL database, here's how it can be changed -


mysqladmin -u root -pcurrentpassword password 'newpassword'

keep in mind that there is no space after the -p parameter.

Hope this helps. ^_^

0 comments:

Post a Comment