{"id":3178,"date":"2026-11-24T10:48:00","date_gmt":"2026-11-24T10:48:00","guid":{"rendered":"https:\/\/entri.app\/explore\/?post_type=curriculum&#038;p=3178"},"modified":"2026-11-24T10:48:08","modified_gmt":"2026-11-24T10:48:08","slug":"reset-wordpress-password-phpmyadmin","status":"publish","type":"curriculum","link":"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/","title":{"rendered":"Reset WordPress Password in phpMyAdmin Step by Step"},"content":{"rendered":"<p>To reset a WordPress password in phpMyAdmin, open your hosting panel, go to Databases and phpMyAdmin, open the wp_users table, edit your user row, and either change user_email so you can use Lost your password, or replace user_pass with a new hashed password. Always back up the database first.<\/p>\n<h2>When should you reset a password in phpMyAdmin?<\/h2>\n<p>Use this method only when the normal route fails. Always try the Lost your password link on the login page first. It emails you a reset link, and most people are done in two minutes.<\/p>\n<p>The database route is for the case where you forgot your username and password and your recovery email is not working.<\/p>\n<p>You must own or administer the site, and you need access to the hosting panel. This is a recovery tool, not a way into other people&#8217;s sites.<\/p>\n<h2>Before you start: back up and check your table prefix<\/h2>\n<p>Export the database from phpMyAdmin first. A wrong edit can lock you out, and a backup gives you a way back.<\/p>\n<p>Next, check the table prefix. Tables usually start with wp_, but some sites use a different prefix. Open the left-hand list in phpMyAdmin and find the table that ends in users.<\/p>\n<h2>Method A: change the admin email, then use Lost your password<\/h2>\n<p>Open phpMyAdmin from your hosting panel by going to Your Website Overview, Databases, then phpMyAdmin. Locate and open the table named wp_users.<\/p>\n<p>Find your admin user and click Edit. Locate the user_email field and change it to an email you can access. Then go to your WordPress login screen and click &#8220;Lost your password?&#8221; to receive a reset link.<\/p>\n<p>This is the cleaner method. It never exposes your new password to a database, and WordPress handles the hashing.<\/p>\n<h2>Method B: set a new password directly in the database<\/h2>\n<p>Use this when email reset will not work, for example when mail delivery is broken on the server.<\/p>\n<p>In the user_pass field, delete the existing encrypted string and replace it with a hash of your new password. You can then log in to your dashboard immediately.<\/p>\n<h3>The safer way to generate the hash<\/h3>\n<p>Many guides suggest an online WordPress password hash generator. A safer approach avoids typing your real password into a third-party website:<\/p>\n<ul>\n<li>In the row edit screen, find the user_pass line.<\/li>\n<li>In the Function dropdown beside it, choose MD5.<\/li>\n<li>In the Value box, type your new password in plain text.<\/li>\n<li>Click Go to save.<\/li>\n<\/ul>\n<p>phpMyAdmin hashes the value as it saves. WordPress accepts the older hash format and upgrades it when you log in successfully.<\/p>\n<h3>Log in and change it again<\/h3>\n<p>Log in with the new password, then open Users, Profile and set another strong password, so the final stored hash is WordPress&#8217;s own current format.<\/p>\n<h2>An alternative: reset with WP-CLI<\/h2>\n<p>If your host gives you command-line access, WP-CLI can set a password with a single command, wp user update followed by the username or ID and the new password option. It avoids the database edit entirely. Ask your host whether WP-CLI is installed before you try it.<\/p>\n<h2>How WordPress stores passwords<\/h2>\n<p>WordPress never keeps your password as readable text. It stores a hashed version, a scrambled string that cannot be turned back into the original. When you log in, WordPress hashes what you typed and compares the two. That is why you cannot simply read your old password in phpMyAdmin, and why replacing the stored string with a new hash is enough to change the password.<\/p>\n<h2>Keep a recovery plan so this never happens again<\/h2>\n<p>Create a second administrator account with a different email address and a strong password, and store its details in a password manager. If the first account is ever locked, you can sign in with the second and reset the first from the Users screen. Also keep your hosting login details safe, since your hosting panel is the key to the database.<\/p>\n<h2>After you get back in: a short security review<\/h2>\n<ul>\n<li>Open Users and check that every administrator is someone you recognise.<\/li>\n<li>Remove accounts you do not know.<\/li>\n<li>Update WordPress, plugins and themes.<\/li>\n<li>Turn on two-step login if you use a security plugin.<\/li>\n<li>Store the new password in a password manager.<\/li>\n<\/ul>\n<p>If you did not forget the password and cannot explain why you were locked out, treat it as a possible break-in and scan the site.<\/p>\n<h2>What if it still does not work?<\/h2>\n<p>Check that you edited the correct user row, that you saved with Go, that the function was set to MD5 and that you are on the right site. If you manage several WordPress installs in one hosting account, each has its own database, so confirm the database name in wp-config.php.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To reset a WordPress password in phpMyAdmin, open your hosting panel, go to Databases and phpMyAdmin, open the wp_users table, edit your user row, and either change user_email so you can use Lost your password, or replace user_pass with a new hashed password. Always back up the database first. When should you reset a password [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","meta":{"_acf_changed":false},"language":[179],"curriculum-category":[182,183,185],"custom_linking_tags":[],"class_list":["post-3178","curriculum","type-curriculum","status-publish","hentry","curriculum-category-digital-marketing","curriculum-category-digital-marketing-tutorials","curriculum-category-wordpress-website-building"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Reset WordPress Password in phpMyAdmin: Safe Steps<\/title>\n<meta name=\"description\" content=\"Reset a WordPress password in phpMyAdmin: back up first, change the admin email or set a new hashed password, then review users to keep the site secure.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Reset WordPress Password in phpMyAdmin: Safe Steps\" \/>\n<meta property=\"og:description\" content=\"Reset a WordPress password in phpMyAdmin: back up first, change the admin email or set a new hashed password, then review users to keep the site secure.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Entri Free Materials\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-24T10:48:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/\",\"url\":\"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/\",\"name\":\"Reset WordPress Password in phpMyAdmin: Safe Steps\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/explore\/#website\"},\"datePublished\":\"2026-11-24T10:48:00+00:00\",\"dateModified\":\"2026-11-24T10:48:08+00:00\",\"description\":\"Reset a WordPress password in phpMyAdmin: back up first, change the admin email or set a new hashed password, then review users to keep the site secure.\",\"breadcrumb\":{\"@id\":\"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entri.app\/explore\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reset WordPress Password in phpMyAdmin Step by Step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entri.app\/explore\/#website\",\"url\":\"https:\/\/entri.app\/explore\/\",\"name\":\"Entri Free Materials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/entri.app\/explore\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entri.app\/explore\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/entri.app\/explore\/#organization\",\"name\":\"Entri Free Materials\",\"url\":\"https:\/\/entri.app\/explore\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/explore\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wp-cdn.entri.app\/explore\/2025\/03\/logo.svg\",\"contentUrl\":\"https:\/\/wp-cdn.entri.app\/explore\/2025\/03\/logo.svg\",\"caption\":\"Entri Free Materials\"},\"image\":{\"@id\":\"https:\/\/entri.app\/explore\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Reset WordPress Password in phpMyAdmin: Safe Steps","description":"Reset a WordPress password in phpMyAdmin: back up first, change the admin email or set a new hashed password, then review users to keep the site secure.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/","og_locale":"en_US","og_type":"article","og_title":"Reset WordPress Password in phpMyAdmin: Safe Steps","og_description":"Reset a WordPress password in phpMyAdmin: back up first, change the admin email or set a new hashed password, then review users to keep the site secure.","og_url":"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/","og_site_name":"Entri Free Materials","article_modified_time":"2026-11-24T10:48:08+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/","url":"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/","name":"Reset WordPress Password in phpMyAdmin: Safe Steps","isPartOf":{"@id":"https:\/\/entri.app\/explore\/#website"},"datePublished":"2026-11-24T10:48:00+00:00","dateModified":"2026-11-24T10:48:08+00:00","description":"Reset a WordPress password in phpMyAdmin: back up first, change the admin email or set a new hashed password, then review users to keep the site secure.","breadcrumb":{"@id":"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/entri.app\/explore\/digital-marketing\/reset-wordpress-password-phpmyadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entri.app\/explore\/"},{"@type":"ListItem","position":2,"name":"Reset WordPress Password in phpMyAdmin Step by Step"}]},{"@type":"WebSite","@id":"https:\/\/entri.app\/explore\/#website","url":"https:\/\/entri.app\/explore\/","name":"Entri Free Materials","description":"","publisher":{"@id":"https:\/\/entri.app\/explore\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entri.app\/explore\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/entri.app\/explore\/#organization","name":"Entri Free Materials","url":"https:\/\/entri.app\/explore\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/explore\/#\/schema\/logo\/image\/","url":"https:\/\/wp-cdn.entri.app\/explore\/2025\/03\/logo.svg","contentUrl":"https:\/\/wp-cdn.entri.app\/explore\/2025\/03\/logo.svg","caption":"Entri Free Materials"},"image":{"@id":"https:\/\/entri.app\/explore\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/curriculum\/3178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/curriculum"}],"about":[{"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/types\/curriculum"}],"author":[{"embeddable":true,"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/media?parent=3178"}],"wp:term":[{"taxonomy":"language","embeddable":true,"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/language?post=3178"},{"taxonomy":"curriculum-category","embeddable":true,"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/curriculum-category?post=3178"},{"taxonomy":"custom_linking_tags","embeddable":true,"href":"https:\/\/entri.app\/explore\/wp-json\/wp\/v2\/custom_linking_tags?post=3178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}