{"id":18352,"date":"2026-09-29T19:52:41","date_gmt":"2026-09-29T16:52:41","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/reset-wordpress-password-phpmyadmin\/"},"modified":"2026-11-22T20:39:02","modified_gmt":"2026-11-22T17:39:02","password":"","slug":"reset-wordpress-password-phpmyadmin","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/reset-wordpress-password-phpmyadmin\/","title":{"rendered":"Resetting a WordPress Password from phpMyAdmin, WP Toolkit or WP-CLI: When the Reset Email Never Arrives"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>Short answer<\/b>In cPanel open <b>phpMyAdmin<\/b>, choose your site\u2019s database, then the users table (<code>wp_users<\/code> or a table ending in <code>_users<\/code>), and click <b>Edit<\/b> next to your account. For <code>user_pass<\/code> choose <b>MD5<\/b> in the Function column, type the new password, then click <b>Go<\/b>. WordPress accepts it and re-hashes it with stronger encryption at your first login.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-18352-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-wp-pass-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-wp-pass-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-wp-pass-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-wp-pass-en.mp4<\/a><\/video><\/div><\/div>\n<p>The normal route is <b>Lost your password<\/b> on the login page. This guide is for when that fails: the email never arrives, the admin email is an old one you no longer own, or you need in right now.<\/p>\n<h2>Which method?<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Method<\/th>\n<th>When<\/th>\n<th>Difficulty<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>WP Toolkit<\/td>\n<td>Your site appears in WordPress Management<\/td>\n<td>Easiest<\/td>\n<\/tr>\n<tr>\n<td>phpMyAdmin<\/td>\n<td>Always available in cPanel<\/td>\n<td>Medium<\/td>\n<\/tr>\n<tr>\n<td>WP-CLI<\/td>\n<td>You have SSH<\/td>\n<td>Easy if you know commands<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Method 1: WP Toolkit<\/h2>\n<p>In cPanel open <b>WordPress Management<\/b> and click <b>Log in<\/b> on your site\u2019s card to enter the WordPress dashboard without a password. Then in <b>Users \u203a Profile<\/b> click <b>Set New Password<\/b> and save. The tool is covered in <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/what-is-wordpress-toolkit\/\">the WordPress Toolkit guide<\/a>.<\/p>\n<h2>Method 2: phpMyAdmin<\/h2>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wp-c-pma-en.webp\" alt=\"phpMyAdmin in cPanel\" width=\"800\" height=\"451\" loading=\"lazy\" \/><\/figure>\n<ol class=\"hkb-steps\">\n<li><b>Open phpMyAdmin<\/b> from the Databases section in cPanel.<\/li>\n<li><b>Choose the database<\/b> not sure which? Open <code>wp-config.php<\/code> in File Manager and look at <code>DB_NAME<\/code>.<\/li>\n<li><b>Open the users table<\/b> called <code>wp_users<\/code>, or another prefix before <code>_users<\/code> as set by <code>$table_prefix<\/code> in wp-config.php.<\/li>\n<li><b>Edit<\/b> the row with your login name in <code>user_login<\/code>.<\/li>\n<li><b>user_pass<\/b> choose <b>MD5<\/b> in the <b>Function<\/b> column, clear the old value and type the new password in <b>Value<\/b>.<\/li>\n<li><b>Go<\/b> then log in to WordPress with the new password.<\/li>\n<\/ol>\n<div class=\"hkb-note warn\"><b>A common mistake:<\/b> Typing the password into user_pass without choosing MD5. It is saved as plain text and WordPress will reject it. Go back and edit it with MD5.<\/div>\n<p>Is MD5 safe? On its own, no, but here it is only a temporary step: after the first successful login WordPress re-hashes the password with its modern method automatically. Editing the database directly calls for care, so export a copy first as shown in <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/import-export-mysql-database-phpmyadmin\/\">exporting with phpMyAdmin<\/a>.<\/p>\n<h2>Method 3: WP-CLI or SQL<\/h2>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wp-t-pass.webp\" alt=\"WP-CLI and SQL commands to change a WordPress user password\" width=\"1100\" height=\"620\" loading=\"lazy\" \/><\/figure>\n<h2>Once you are in<\/h2>\n<ul class=\"hkb-list\">\n<li>Open <b>Users \u203a Profile<\/b> and check your email address, so future reset emails reach you.<\/li>\n<li>If you did not change the original password yourself, treat the site as suspect: review <b>Users<\/b>, delete any administrator you do not recognise, and scan the site as in <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/clean-hacked-wordpress-site-remove-malware\/\">cleaning a hacked site<\/a>.<\/li>\n<li>Turn on two-factor authentication with a trusted plugin.<\/li>\n<\/ul>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wp-p-profile.webp\" alt=\"The WordPress user profile screen\" width=\"1200\" height=\"700\" loading=\"lazy\" \/><\/figure>\n<h2>A new password that cannot be guessed<\/h2>\n<ul class=\"hkb-list\">\n<li>Long: at least twelve characters, and longer is better.<\/li>\n<li>Do not reuse your email or cPanel password.<\/li>\n<li>Keep it in a password manager rather than on paper or in a desktop file.<\/li>\n<li>The <b>Set New Password<\/b> button in WordPress suggests a strong one for you.<\/li>\n<\/ul>\n<div class=\"hkb-note\">Looking for hosting built for WordPress? See <a href=\"https:\/\/www.hyyat.com\/en\/wordpress-hosting\/\">Hyyat Host WordPress hosting<\/a>.<\/div>\n<h2>Our customers asked<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Why don\u2019t I receive the password reset email?<\/summary>\n<p>Usually because the site sends mail with PHP without authentication, so it lands in spam or is rejected. An SMTP plugin fixes that; check your spam folder first.<\/p>\n<\/details>\n<details>\n<summary>I do not even know my username<\/summary>\n<p>In the users table in phpMyAdmin, look at the user_login column, or user_email to spot your account.<\/p>\n<\/details>\n<details>\n<summary>I changed the password and still cannot log in<\/summary>\n<p>Make sure you edited the right site and database, then clear cookies. If you get a white page or bounce back to the login page: <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cant-log-in-to-wordpress-blank-page\/\">WordPress login problems<\/a>.<\/p>\n<\/details>\n<details>\n<summary>Can I change another user\u2019s password?<\/summary>\n<p>Yes, with the same methods, or from Users \u203a All Users \u203a Edit if you are an administrator.<\/p>\n<\/details>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Short answerIn cPanel open phpMyAdmin, choose your site\u2019s database, then the users table (wp_users or a table ending in _users), and click Edit next to your account. For user_pass choose MD5 in the Function column, type the new password, then click Go. WordPress accepts it and re-hashes it with stronger encryption at your first login. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":21447,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2747],"doc_tag":[],"class_list":["post-18352","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-wordpress-explanations"],"year_month":"2026-11","word_count":589,"total_views":"2","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"WordPress Guides","term_url":"https:\/\/www.hyyat.com\/en\/kb\/wordpress-explanations\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18352"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18352\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/21447"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18352"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18352"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}