{"id":501,"date":"2011-07-18T09:31:26","date_gmt":"2011-07-18T09:31:26","guid":{"rendered":"http:\/\/www.knowledgement.ie\/?p=501"},"modified":"2011-07-18T09:31:26","modified_gmt":"2011-07-18T09:31:26","slug":"reset-wordpress-admin-password","status":"publish","type":"post","link":"https:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/","title":{"rendered":"Reset WordPress Admin Password"},"content":{"rendered":"<p>Once again when migrating customers from one hosting\/support provider or website developer there is almost always a case that the previous developer doesn&#8217;t remember the admin password. In those cases you have to reset the password by going to the database directly.<\/p>\n<p>You can use PHPMyAdmin or MySQL Command Line to update the password as described below:<\/p>\n<p><strong>PHPMyAdmin<\/strong><\/p>\n<ol>\n<li>Open PHPMyAdmin and go to the WordPress Database<\/li>\n<li>Click the table wp_users; this will open up the content of the database. One of the top one will be admin.<\/li>\n<li>Click the little pencil icon in front of the row with user_login as admin (or any other user)<\/li>\n<li>In the new form which opens select MD5 from the dropdown of field called user_pass<\/li>\n<li>Type the new password in value field and click Go this will save the new password in the required MD5 format<\/li>\n<li>That&#8217;s it you are now ready to login with the new password for the admin user (or any other user that you used in step 3)<\/li>\n<\/ol>\n<div><strong>MySQL Command Line<\/strong><\/div>\n<p>You can use MySQL command line as well to update the password. Login to MySQL command line using the following:<\/p>\n<p>{code}mysql -u &lt;username&gt; -p{\/code}<\/p>\n<p>The above command will ask for a password. Once you have provided that you will now be logged in to MySQL command line.<\/p>\n<p>Now use the database for your WordPress installation<\/p>\n<p>{code}USE &lt;database name&gt;;{\/code}<\/p>\n<p>Now you can use the following command to reset the password for the admin user. Admin user has an ID of 1 if you want to reset some other user&#8217;s ID then you will need his ID.<\/p>\n<p>{code}UPDATE `wp_users` SET `user_pass` = MD5( &#8216;&lt;MyNewPassword&#8217; ) WHERE `wp_users`.`ID` =1;{\/code}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once again when migrating customers from one hosting\/support provider or website developer there is almost always a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[16],"tags":[451,405,273,452,436,287],"class_list":["post-501","post","type-post","status-publish","format-standard","hentry","category-article","tag-content-management-system","tag-enterprise-resource-planning","tag-finance","tag-mysql","tag-oddo","tag-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Reset WordPress Admin Password -<\/title>\n<meta name=\"description\" content=\"Once again when migrating customers from one hosting\/support provider or website developer there is almost always a case that the previous developer doesn&#039;t rem...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Reset WordPress Admin Password -\" \/>\n<meta property=\"og:description\" content=\"Once again when migrating customers from one hosting\/support provider or website developer there is almost always a case that the previous developer doesn&#039;t rem...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/\" \/>\n<meta property=\"og:site_name\" content=\"Target Integration\" \/>\n<meta property=\"article:published_time\" content=\"2011-07-18T09:31:26+00:00\" \/>\n<meta name=\"author\" content=\"alberon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"alberon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Reset WordPress Admin Password -","description":"Once again when migrating customers from one hosting\/support provider or website developer there is almost always a case that the previous developer doesn't rem...","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":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/","og_locale":"en_GB","og_type":"article","og_title":"Reset WordPress Admin Password -","og_description":"Once again when migrating customers from one hosting\/support provider or website developer there is almost always a case that the previous developer doesn't rem...","og_url":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/","og_site_name":"Target Integration","article_published_time":"2011-07-18T09:31:26+00:00","author":"alberon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alberon","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/#article","isPartOf":{"@id":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/"},"author":{"name":"alberon","@id":"https:\/\/www.targetintegration.com\/en_us\/#\/schema\/person\/6cf1a626a98188cb709e7c650b1e35a0"},"headline":"Reset WordPress Admin Password","datePublished":"2011-07-18T09:31:26+00:00","mainEntityOfPage":{"@id":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/"},"wordCount":297,"commentCount":0,"publisher":{"@id":"https:\/\/www.targetintegration.com\/en_us\/#organization"},"keywords":["Content Management System","Enterprise Resource Planning","finance","MySQL","oddo","WordPress"],"articleSection":["Article"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/","url":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/","name":"Reset WordPress Admin Password -","isPartOf":{"@id":"https:\/\/www.targetintegration.com\/en_us\/#website"},"datePublished":"2011-07-18T09:31:26+00:00","description":"Once again when migrating customers from one hosting\/support provider or website developer there is almost always a case that the previous developer doesn't rem...","breadcrumb":{"@id":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.targetintegration.com\/en\/reset-wordpress-admin-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.targetintegration.com\/en\/"},{"@type":"ListItem","position":2,"name":"Reset WordPress Admin Password"}]},{"@type":"WebSite","@id":"https:\/\/www.targetintegration.com\/en_us\/#website","url":"https:\/\/www.targetintegration.com\/en_us\/","name":"Target Integration","description":"Digital Adoption Specialists working with CRM &amp; ERP Systems","publisher":{"@id":"https:\/\/www.targetintegration.com\/en_us\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.targetintegration.com\/en_us\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.targetintegration.com\/en_us\/#organization","name":"Target Integration","url":"https:\/\/www.targetintegration.com\/en_us\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.targetintegration.com\/en_us\/#\/schema\/logo\/image\/","url":"https:\/\/www.targetintegration.com\/wp-content\/uploads\/2026\/03\/logo-header.svg","contentUrl":"https:\/\/www.targetintegration.com\/wp-content\/uploads\/2026\/03\/logo-header.svg","caption":"Target Integration"},"image":{"@id":"https:\/\/www.targetintegration.com\/en_us\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.targetintegration.com\/en_us\/#\/schema\/person\/6cf1a626a98188cb709e7c650b1e35a0","name":"alberon","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/7ba0ff6198a64091d2f3ba01e9c4dc98d0490b9af571d623c7bf441a86a6b4fd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7ba0ff6198a64091d2f3ba01e9c4dc98d0490b9af571d623c7bf441a86a6b4fd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ba0ff6198a64091d2f3ba01e9c4dc98d0490b9af571d623c7bf441a86a6b4fd?s=96&d=mm&r=g","caption":"alberon"},"sameAs":["https:\/\/www.targetintegration.com"]}]}},"taxonomy_info":{"category":[{"value":16,"label":"Article"}],"post_tag":[{"value":451,"label":"Content Management System"},{"value":405,"label":"Enterprise Resource Planning"},{"value":273,"label":"finance"},{"value":452,"label":"MySQL"},{"value":436,"label":"oddo"},{"value":287,"label":"WordPress"}]},"featured_image_src_large":false,"author_info":{"display_name":"alberon","author_link":"https:\/\/www.targetintegration.com\/en\/author\/alberon\/"},"comment_info":0,"category_info":[{"term_id":16,"name":"Article","slug":"article","term_group":0,"term_taxonomy_id":16,"taxonomy":"category","description":"","parent":0,"count":556,"filter":"raw","cat_ID":16,"category_count":556,"category_description":"","cat_name":"Article","category_nicename":"article","category_parent":0}],"tag_info":[{"term_id":451,"name":"Content Management System","slug":"content-management-system","term_group":0,"term_taxonomy_id":451,"taxonomy":"post_tag","description":"","parent":0,"count":0,"filter":"raw"},{"term_id":405,"name":"Enterprise Resource Planning","slug":"enterprise-resource-planning","term_group":0,"term_taxonomy_id":405,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":273,"name":"finance","slug":"finance","term_group":0,"term_taxonomy_id":273,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"},{"term_id":452,"name":"MySQL","slug":"mysql","term_group":0,"term_taxonomy_id":452,"taxonomy":"post_tag","description":"","parent":0,"count":0,"filter":"raw"},{"term_id":436,"name":"oddo","slug":"oddo","term_group":0,"term_taxonomy_id":436,"taxonomy":"post_tag","description":"","parent":0,"count":0,"filter":"raw"},{"term_id":287,"name":"WordPress","slug":"wordpress","term_group":0,"term_taxonomy_id":287,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/posts\/501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/comments?post=501"}],"version-history":[{"count":0,"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.targetintegration.com\/en\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}