{"id":15835,"date":"2024-08-21T11:44:05","date_gmt":"2024-08-21T15:44:05","guid":{"rendered":"https:\/\/kb.n0c.com\/?post_type=ht_kb&#038;p=15835"},"modified":"2026-09-08T11:31:55","modified_gmt":"2026-09-08T15:31:55","slug":"how-to-change-the-wordpress-admin-login-password","status":"publish","type":"ht_kb","link":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/","title":{"rendered":"How to Change the WordPress Admin Login Password"},"content":{"rendered":"\n<p>It can happen that you forget your WordPress administration login password.<\/p>\n\n\n\n<p>If this ever happens to you, here are the steps to follow to change your password. You can do this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>simply by using N0C WP;<\/li>\n\n\n\n<li>by using the command line in <strong><code>wp-cli<\/code><\/strong>;<\/li>\n\n\n\n<li>from your database; or<\/li>\n\n\n\n<li>by using the command line in MySQL.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">This article uses the MD5 hashing technique. New WordPress installations use a more secure password hashing algorithm than MD5. We strongly recommend that you change your password again from your WP dashboard as soon as you log in to ensure that you are using the latest password hashing technique.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">Please note that direct modification of your WordPress database should be carried out with caution. Be sure to backup your database before making any changes (please see the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/database-import-export-in-command-line-user-mode\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Import\/Export Database in Command Line (User Mode)<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong><strong>Note :<\/strong>&nbsp;<\/strong>The&nbsp;<a href=\"https:\/\/kb.n0c.com\/en\/glossary\/\">Glossary<\/a>&nbsp;contains explanations on multiple topics and can be consulted to clarify certain terms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Change Your Password With N0C WP<\/h2>\n\n\n\n<p>This is the simplest method.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In N0C, go to\u00a0<strong>CMS \/ Applications<\/strong>\u00a0->\u00a0<strong>N0C WP<\/strong>. <\/li>\n\n\n\n<li>Click on the eye-shaped <strong>Details<\/strong> icon under <strong>My WordPress websites<\/strong>, next to your site:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"396\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png\" alt=\"Details\" class=\"wp-image-24123\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png 1044w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN-300x114.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN-1024x388.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN-768x291.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN-50x19.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN-60x23.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN-100x38.png 100w\" sizes=\"auto, (max-width: 1044px) 100vw, 1044px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Click on the pencil-shaped <strong>Edit user<\/strong> icon next to the user whose password you wish to change:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-1024x431.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"431\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-1024x431.png\" alt=\"Edit\" class=\"wp-image-24129\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-1024x431.png 1024w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-300x126.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-768x324.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-50x21.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-60x25.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN-100x42.png 100w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_2026-09-08_EN.png 1111w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Modify the password and click on the\u00a0<strong>SAVE\u00a0<\/strong>button:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_modifier_mot_passe_2026-09-08_EN.png\"><img loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"483\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_modifier_mot_passe_2026-09-08_EN.png\" alt=\"How to Change Your Password With N0C WP\" class=\"wp-image-24133\" style=\"width:435px;height:auto\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_modifier_mot_passe_2026-09-08_EN.png 474w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_modifier_mot_passe_2026-09-08_EN-294x300.png 294w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_modifier_mot_passe_2026-09-08_EN-50x50.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_modifier_mot_passe_2026-09-08_EN-60x60.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_utilisateurs_modifier_mot_passe_2026-09-08_EN-98x100.png 98w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a><\/figure><\/div>\n\n\n<p>Reference : see the section on <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/using-wordpress-on-n0c\/#:~:text=assign%20their%20roles.-,How%20to%20Modify%20Users%E2%80%99%20Attributes%20and%20Roles,-Users%20are%20listed\">How to Modify Users\u2019 Attributes and Roles<\/a> in the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/using-wordpress-on-n0c\/\">How to Use WordPress<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"changement-du-mot-de-passe-en-ligne-de-commande-avec-wp-cli\">Change Password in Command Line with wp-cli<\/h2>\n\n\n\n<p>As explained in the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/managing-wordpress-in-cli-with-wp-cli\/\">How to Manage WordPress in CLI with wp-cli<\/a>&nbsp;:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect to the server in SSH.\n<ul class=\"wp-block-list\">\n<li>You may also open N0C Terminal (<a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-the-mg-panel-terminal\/#:~:text=com\/en\/.-,How%20to%20Access%20to%20the%20Terminal,-This%20feature%20is\">How to Use the MG Panel Terminal<\/a>).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Navigate to the relevant WordPress folder (optional).<\/li>\n\n\n\n<li>If you want to change the WordPress password in the current folder, please enter the following command:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">wp user update admin --user_pass=newpassword<\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>If you want to change the WordPress password in public_html without having to navigate there, please enter the following command:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">wp user update admin --user_pass=newpassword --path=public_html\/<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"differences-principales\">Change Password From Database<\/h2>\n\n\n\n<p>To change the password with phpMyAdmin:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open phpMyAdmin (please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/phpmyadmin\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Manage Databases with PhpMyAdmin<\/a>).<\/li>\n\n\n\n<li>Select the database associated with your WordPress:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_1-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"236\" height=\"231\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_1-3.png\" alt=\"database associated with your WordPress\" class=\"wp-image-15816\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_1-3.png 236w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_1-3-50x50.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_1-3-60x60.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_1-3-100x98.png 100w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Click on the <strong>wp_users<\/strong> table (the prefix may be different from wp, depending on how your WordPress has been configured):<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_2-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"237\" height=\"513\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_2-3.png\" alt=\"Click on the wp_users table\" class=\"wp-image-15819\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_2-3.png 237w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_2-3-139x300.png 139w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_2-3-23x50.png 23w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_2-3-28x60.png 28w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_2-3-46x100.png 46w\" sizes=\"auto, (max-width: 237px) 100vw, 237px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Locate your administrator username, and click on the <strong>Edit<\/strong> button next to it:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_3-1-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"510\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_3-1-1.png\" alt=\"click on the Edit button\" class=\"wp-image-15831\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_3-1-1.png 580w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_3-1-1-300x264.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_3-1-1-50x44.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_3-1-1-60x53.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_3-1-1-100x88.png 100w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/figure><\/div>\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Set the new password. To do so, proceed as follows:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>locate the <strong>user_pass<\/strong> field;<\/li>\n\n\n\n<li>choose <strong>MD5<\/strong> from the drop-down list under the <strong>Function<\/strong> column;<\/li>\n\n\n\n<li>enter your new password in the text field under the <strong>Value<\/strong> column; and<\/li>\n\n\n\n<li>click on the <strong>Go<\/strong> button at the bottom of the window.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1014\" height=\"355\" src=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1.png\" alt=\"Set the new password\" class=\"wp-image-15823\" srcset=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1.png 1014w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1-300x105.png 300w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1-768x269.png 768w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1-50x18.png 50w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1-60x21.png 60w, https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/Motpassewordpress_4-1-100x35.png 100w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/a><\/figure><\/div>\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Note :<\/strong>&nbsp;Since <strong>MD5<\/strong> is a type of encryption, it is normal for the password not to appear as you entered it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Changing the Password From the Command Line in MySQL<\/h2>\n\n\n\n<p>To access your WordPress database via the MySQL command line, you need to know your database credentials. These credentials are usually stored in the wp-config.php file, which is located in the root directory of your WordPress installation.<\/p>\n\n\n\n<p>Here are the steps to follow:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect to your server via SSH (please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-create-an-ssh-key-and-connect-to-an-account\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Create an SSH Key and Connect to an Account Remotely<\/a>) and enter the MySQL command line using your database credentials.<\/li>\n\n\n\n<li>Use the following command, replacing <strong>user<\/strong> with your user, then enter your main account password when prompted:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql -u user -p<\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Select your WordPress database by executing the following command line query (replace <strong>wordpress_db<\/strong> with the name of your database):<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">USE wordpress_db;<\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Make a SELECT to be sure to modify the right row:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">SELECT * FROM wp_users WHERE user_login = 'user';<\/pre>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Run the following query to change your password (replace <strong>new_password<\/strong> with the desired password, and <strong>user<\/strong> with your administrator username):<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">UPDATE wp_users SET user_pass = MD5('new_password') WHERE user_login = 'user';<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>It can happen that you forget your WordPress administration login password. If this ever happens to you, here are the steps to follow to change your password. You can do this: How to Change Your Password With N0C WP This is the simplest method. Reference : see the section on&#8230;<\/p>\n","protected":false},"author":4,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[170],"ht-kb-tag":[383,382,423,384],"class_list":["post-15835","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cms-applications-en","ht_kb_tag-admin-password","ht_kb_tag-password-2","ht_kb_tag-reset-2","ht_kb_tag-wordpress-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change the WordPress Admin Login Password - N0C KB<\/title>\n<meta name=\"description\" content=\"This article explains how to change your WordPress admin login password if you have forgotten it using N0C WP, via the command line with wp-cli, from your database, or via the MySQL command line.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change the WordPress Admin Login Password - N0C KB\" \/>\n<meta property=\"og:description\" content=\"This article explains how to change your WordPress admin login password if you have forgotten it using N0C WP, via the command line with wp-cli, from your database, or via the MySQL command line.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/\" \/>\n<meta property=\"og:site_name\" content=\"N0C KB\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-08T15:31:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1044\" \/>\n\t<meta property=\"og:image:height\" content=\"396\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/\",\"name\":\"How to Change the WordPress Admin Login Password - N0C KB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kb.n0c.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/WordPress_icone_details_2026-09-08_EN.png\",\"datePublished\":\"2024-08-21T15:44:05+00:00\",\"dateModified\":\"2026-09-08T15:31:55+00:00\",\"description\":\"This article explains how to change your WordPress admin login password if you have forgotten it using N0C WP, via the command line with wp-cli, from your database, or via the MySQL command line.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/WordPress_icone_details_2026-09-08_EN.png\",\"contentUrl\":\"https:\\\/\\\/kb.n0c.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/WordPress_icone_details_2026-09-08_EN.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-change-the-wordpress-admin-login-password\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Change the WordPress Admin Login Password\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/\",\"name\":\"N0C KB\",\"description\":\"Official documentation of the N0C hosting platform\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kb.n0c.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change the WordPress Admin Login Password - N0C KB","description":"This article explains how to change your WordPress admin login password if you have forgotten it using N0C WP, via the command line with wp-cli, from your database, or via the MySQL command line.","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:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/","og_locale":"en_US","og_type":"article","og_title":"How to Change the WordPress Admin Login Password - N0C KB","og_description":"This article explains how to change your WordPress admin login password if you have forgotten it using N0C WP, via the command line with wp-cli, from your database, or via the MySQL command line.","og_url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/","og_site_name":"N0C KB","article_modified_time":"2026-09-08T15:31:55+00:00","og_image":[{"width":1044,"height":396,"url":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/","url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/","name":"How to Change the WordPress Admin Login Password - N0C KB","isPartOf":{"@id":"https:\/\/kb.n0c.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/#primaryimage"},"image":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png","datePublished":"2024-08-21T15:44:05+00:00","dateModified":"2026-09-08T15:31:55+00:00","description":"This article explains how to change your WordPress admin login password if you have forgotten it using N0C WP, via the command line with wp-cli, from your database, or via the MySQL command line.","breadcrumb":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/#primaryimage","url":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png","contentUrl":"https:\/\/kb.n0c.com\/wp-content\/uploads\/2024\/08\/WordPress_icone_details_2026-09-08_EN.png"},{"@type":"BreadcrumbList","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-change-the-wordpress-admin-login-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/kb.n0c.com\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/kb.n0c.com\/en\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"How to Change the WordPress Admin Login Password"}]},{"@type":"WebSite","@id":"https:\/\/kb.n0c.com\/#website","url":"https:\/\/kb.n0c.com\/","name":"N0C KB","description":"Official documentation of the N0C hosting platform","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.n0c.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/15835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/comments?post=15835"}],"version-history":[{"count":18,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/15835\/revisions"}],"predecessor-version":[{"id":24145,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/15835\/revisions\/24145"}],"wp:attachment":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/media?parent=15835"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=15835"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=15835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}