{"id":380,"date":"2024-06-13T18:56:21","date_gmt":"2024-06-13T18:56:21","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=380"},"modified":"2024-06-13T19:01:23","modified_gmt":"2024-06-13T19:01:23","slug":"how-to-reset-wordpress-password-via-phpmyadmin","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-to-reset-wordpress-password-via-phpmyadmin.html","title":{"rendered":"How to Reset WordPress Password via phpMyAdmin"},"content":{"rendered":"<p>If you ever encounter an issue logging in to your WordPress dashboard due to an invalid or forgotten password, there is a neat trick to reset it from your cPanel area, specifically phpMyAdmin.<\/p>\n<p>So for those who have never heard of phpMyAdmin, here\u2019s a brief description on how it works and what it\u2019s for:<\/p>\n<p>In order to create a functional website, most developers use databases to store website information. There are various kinds of databases but one of the most popular types is MySQL. Now this is where phpMyAdmin comes in. It is created as a piece of software written in the PHP programming language that is used to handle MySQL administration.<\/p>\n<p>In other words, phpMyAdmin helps you to manage MySQL databases such as database creation, performing database queries, table management, and so on. This also means that it can also help you to view and manage tables that store your website data, including your WordPress users and passwords.<\/p>\n<p>Follow the steps below to change your WordPress admin password from phpMyAdmin:<\/p>\n<ol>\n<li>Login to your cPanel area Once logged in, type in phpMyAdmin on the top right search bar or just scroll down until you can find the phpMyAdmin option.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-384\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8190.png\" alt=\"\" width=\"2856\" height=\"1616\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8190.png 2856w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8190-300x170.png 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8190-1024x579.png 1024w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8190-768x435.png 768w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8190-1536x869.png 1536w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8190-2048x1159.png 2048w\" sizes=\"auto, (max-width: 2856px) 100vw, 2856px\" \/><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol start=\"2\">\n<li>Choosing the correct WordPress database, select the \u201c_users\u201d table, and edit the admin user row<\/li>\n<\/ol>\n<p>Once the phpMyAdmin interface opens, click on your WordPress database on the left hand pane. If there are multiple databases within your cPanel account, make sure to choose the correct one. Then select the \u201cwp_users\u201d table. Depending on the database prefix you are using, the name of this table could vary. In the screenshot below, for example, we are selecting the \u201cwpro_users\u201d. Afterward, click the \u201cEdit\u201d button on the WordPress user you wish to reset the password of.<\/p>\n<p><span class=\"img lightbox closed\" tabindex=\"0\" role=\"button\" aria-label=\"2878\"><span class=\"lightbox-inner\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-386\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8191.png\" alt=\"\" width=\"2878\" height=\"1602\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8191.png 2878w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8191-300x167.png 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8191-1024x570.png 1024w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8191-768x427.png 768w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8191-1536x855.png 1536w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8191-2048x1140.png 2048w\" sizes=\"auto, (max-width: 2878px) 100vw, 2878px\" \/><\/span><\/span><\/p>\n<ol start=\"3\">\n<li>Inputting the new password<\/li>\n<\/ol>\n<p>Now there will be several fields you can edit in this particular table row, such as the user name, email address, or password. To set a new password for this user, go to the \u201cuser_pass\u201d column, set the \u201cFunction\u201d to \u201cMD5\u201d and input the new passphrase on the \u201cValue\u201d field accordingly. Then, click Go and wait for the change to be processed and saved.<\/p>\n<p><span class=\"img lightbox closed\" tabindex=\"0\" role=\"button\" aria-label=\"841\"><span class=\"lightbox-inner\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-387\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8192.jpeg\" alt=\"\" width=\"841\" height=\"455\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8192.jpeg 841w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8192-300x162.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8192-768x416.jpeg 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><\/span><\/span><\/p>\n<ol start=\"4\">\n<li>Login to WP admin area<\/li>\n<\/ol>\n<p>To make sure that the new password has been set properly, login to your website\u2019s WP admin area and use the passphrase you just set on the database.<\/p>\n<p><span class=\"img lightbox closed\" tabindex=\"0\" role=\"button\" aria-label=\"478\"><span class=\"lightbox-inner\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-388\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8193.jpeg\" alt=\"\" width=\"478\" height=\"475\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8193.jpeg 478w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8193-300x298.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/06\/IMG_8193-150x150.jpeg 150w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/span><\/span>If you are still having issues logging in, go over Step 2 and 3 again and double-check if you selected the correct database\/WordPress user.<\/p>\n<div class=\"jadll69f10d8f15567\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.jadll69f10d8f15567 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.jadll69f10d8f15567 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.jadll69f10d8f15567 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.jadll69f10d8f15567 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.jadll69f10d8f15567 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>If you ever encounter an issue logging in to your WordPress dashboard due to an invalid or forgotten password, there is a neat trick to reset it from your cPanel area, specifically phpMyAdmin. So for those who have never heard of phpMyAdmin, here\u2019s a brief description on how it works and what it\u2019s for: In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-380","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":5,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":389,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/380\/revisions\/389"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}