By default i have selected the Username of admin account as "admin" , of the Wordpress CMS while installing wordpress first time. Now i want to deploy the webpage : considering the security precautions , i want to change User name and Password of admin account. Can anyone guide me on this. The database for the User_login appears like this haven't see the MD5 code for the user_name ?


PHP_Myadmin Panel

User_Login Field in Database


Create new admin account using proper name and password. Login as new admin and delete old admin account. You are done.

Suggestions to use phpMyAdmin MD5 hash are out of date. This doesn't work anymore:

enter image description here

  • Hi:any detailed step by step approach. – Swap Apr 4 '16 at 1:16
  • MD5 approach is actually supported and will probably continue to be as it is the only way to change passwords by direct access to the DB. – Mark Kaplun Apr 4 '16 at 4:19

An easy way to do it is go into the WP admin (login), create a new user then delete the user one that is set as Admin.

  • you mean the database ? or php file ? – Swap Apr 4 '16 at 11:09
  • When you login to the admin of the website, eg www.mywebsite.com/wp-admin Then go to USERS > ALL USERS and add a new user then delete your old one, make sure you give full admin rights for your new user account. – Bjarni Apr 4 '16 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.