How to change your Magento and WordPress password from phpMyAdmin
- Open the database that WordPress or Magento uses, with phpMyAdmin
- For both systems the password must be hashed,you cannot simply enter text into this field. This is for security reasons, passwords are stored as an MD5 hash. To create an MD5 hash, you can use one of the following online tools:
Hashed passwords samples:
admin = 21232f297a57a5a743894a0e4a801fc3
secret = 5ebe2294ecd0e0f08eab7690d2a6ee69
- For Magento find the DB table “admin_user” and change the password field for the desired username to the hash value you got from the tools above.
For WordPress you have to open the DB table with the name “wp_users” and set the value for the field user_pass to the hashed value you got.
You can also try to crack the value of the previous MD5 password value using one of the online tools below. Both these tools don’t really crack the password but they search for the hash value in their databases. If the hash value exists already, they return the password value. That’s why you should avoid using easy passwords that can be easily calculated or guessed: