{"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:\/\/targetintegration.com\/en_ie\/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>","protected":false},"excerpt":{"rendered":"<p>Once again when migrating customers from one hosting\/support provider or website developer there is almost always a case that the&#8230;<\/p>","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[94,95,40,96,73,97],"class_list":["post-501","post","type-post","status-publish","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 v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\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=\"https:\/\/targetintegration.com\/en_ie\/reset-wordpress-admin-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\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=\"https:\/\/targetintegration.com\/en_ie\/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=\"Aman Thakral\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aman Thakral\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/\"},\"author\":{\"name\":\"Aman Thakral\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d\"},\"headline\":\"Reset WordPress Admin Password\",\"datePublished\":\"2011-07-18T09:31:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/\"},\"wordCount\":295,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/targetintegration.com\/#organization\"},\"keywords\":[\"Content Management System\",\"Enterprise Resource Planning\",\"finance\",\"MySQL\",\"oddo\",\"WordPress\"],\"articleSection\":[\"Article\"],\"inLanguage\":\"en-ie\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/\",\"url\":\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/\",\"name\":\"Reset WordPress Admin Password -\",\"isPartOf\":{\"@id\":\"https:\/\/targetintegration.com\/#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\":\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/#breadcrumb\"},\"inLanguage\":\"en-ie\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/targetintegration.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reset WordPress Admin Password\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/targetintegration.com\/#website\",\"url\":\"https:\/\/targetintegration.com\/\",\"name\":\"Target Integration\",\"description\":\"Empowering You!\",\"publisher\":{\"@id\":\"https:\/\/targetintegration.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/targetintegration.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-ie\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/targetintegration.com\/#organization\",\"name\":\"Target Integration\",\"url\":\"https:\/\/targetintegration.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ie\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg\",\"contentUrl\":\"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg\",\"width\":172,\"height\":65,\"caption\":\"Target Integration\"},\"image\":{\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d\",\"name\":\"Aman Thakral\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ie\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g\",\"caption\":\"Aman Thakral\"}}]}<\/script>\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":"https:\/\/targetintegration.com\/en_ie\/reset-wordpress-admin-password\/","og_locale":"en_US","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":"https:\/\/targetintegration.com\/en_ie\/reset-wordpress-admin-password\/","og_site_name":"Target Integration","article_published_time":"2011-07-18T09:31:26+00:00","author":"Aman Thakral","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Aman Thakral","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/#article","isPartOf":{"@id":"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/"},"author":{"name":"Aman Thakral","@id":"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d"},"headline":"Reset WordPress Admin Password","datePublished":"2011-07-18T09:31:26+00:00","mainEntityOfPage":{"@id":"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/"},"wordCount":295,"commentCount":0,"publisher":{"@id":"https:\/\/targetintegration.com\/#organization"},"keywords":["Content Management System","Enterprise Resource Planning","finance","MySQL","oddo","WordPress"],"articleSection":["Article"],"inLanguage":"en-ie"},{"@type":"WebPage","@id":"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/","url":"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/","name":"Reset WordPress Admin Password -","isPartOf":{"@id":"https:\/\/targetintegration.com\/#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":"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/#breadcrumb"},"inLanguage":"en-ie","potentialAction":[{"@type":"ReadAction","target":["https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/targetintegration.com\/en_gb\/reset-wordpress-admin-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/targetintegration.com\/"},{"@type":"ListItem","position":2,"name":"Reset WordPress Admin Password"}]},{"@type":"WebSite","@id":"https:\/\/targetintegration.com\/#website","url":"https:\/\/targetintegration.com\/","name":"Target Integration","description":"Empowering You!","publisher":{"@id":"https:\/\/targetintegration.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/targetintegration.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-ie"},{"@type":"Organization","@id":"https:\/\/targetintegration.com\/#organization","name":"Target Integration","url":"https:\/\/targetintegration.com\/","logo":{"@type":"ImageObject","inLanguage":"en-ie","@id":"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/","url":"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg","contentUrl":"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg","width":172,"height":65,"caption":"Target Integration"},"image":{"@id":"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d","name":"Aman Thakral","image":{"@type":"ImageObject","inLanguage":"en-ie","@id":"https:\/\/targetintegration.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g","caption":"Aman Thakral"}}]}},"_links":{"self":[{"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/posts\/501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/comments?post=501"}],"version-history":[{"count":0,"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"wp:attachment":[{"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/targetintegration.com\/en_ie\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}