{"id":434,"date":"2012-07-25T11:33:21","date_gmt":"2012-07-25T11:33:21","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/07\/25\/reset-database-password\/"},"modified":"2021-08-16T23:38:19","modified_gmt":"2021-08-17T03:38:19","slug":"reset-database-password","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/","title":{"rendered":"How to reset a database password within cPanel"},"content":{"rendered":"<p><!-- How to reset a database password within cPanel --><\/p>\n<p>There may be times that you need to <strong>reset a database password<\/strong>. For example, you may be resetting the password as a normal maintenance \/ security precaution. If you\u2019re troubleshooting database connection errors, resetting your database password is a good step to take so you can be confident you are using the correct password.<\/p>\n<p>In the following tutorial, we will walk you through the steps for resetting your database password using cPanel. If you by chance don\u2019t host your website with InMotion Hosting or your current hosting provider does not use cPanel, be sure to contact your current hosting provider for the proper steps for resetting database passwords within their system.<\/p>\n<h2>Reset a database password within cPanel:<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into your cPanel<\/a><\/li>\n<li>Under the <b>Databases<\/b> heading, click the <b>MySQL Databases<\/b> link<\/li>\n<li>A database does not have a password to reset, but instead we are needing to reset the password for the user assigned to the database.\n<p>At the bottom of the page, under the <b>Current Users<\/b>, look for the <i>user<\/i> of the database then click on the <b>Set Password<\/b> icon in the <b>Actions<\/b> column.  Remember that the database user you are modifying should be the assigned user for the database that requires the password change. <\/p>\n<p class=\"alert\">If you don\u2019t know the database user assigned to your database, please look for the user in your software\u2019s configuration.php file (such as wp-config.php or configuration.php)<\/p>\n<p> <a href=\"\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"514\" height=\"305\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png\" class=\"optimized-lcp-image\" alt=\"change user password\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png 514w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16-300x178.png 300w\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li>On the <b>MySQL Account Maintenance<\/b> page, enter the old password for the user and then enter the new password you would like. When finished, click the <b>Change Password<\/b> button.<br><a href=\"\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_15.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"mysql-account-maintenace\" class=\"std_ss size-full wp-image-5556\" height=\"656\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_15.png\" width=\"625\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_15.png 625w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_15-286x300.png 286w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/a>\n<div style=\"clear:both;\"><\/div>\n<div class=\"alert\" style=\"margin-top: 10px;\">If you don\u2019t recall the current password for your MySQL user, you have two options: \n<p> * Find the database password listed in your software\u2019s configuration file (such as wp-config.php or configuration.php) and try that<\/p>\n<p> * Delete the database user, recreate the database user with the password you would like, and then assign the user to the database once again<\/p>\n<\/div>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>There may be times that you need to reset a database password. For example, you may be resetting the password as a normal maintenance \/ security precaution. If you\u2019re troubleshooting database connection errors, resetting your database password is a good step to take so you can be confident you are using the correct password. In<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[51,4299,4288,4305],"tags":[],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-security","category-website","category-databases"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to reset a database password within cPanel | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this tutorial, we&#039;ll show you how to reset your database password using cPanel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to reset a database password within cPanel | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we&#039;ll show you how to reset your database password using cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-07-25T11:33:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:38:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"How to reset a database password within cPanel\",\"datePublished\":\"2012-07-25T11:33:21+00:00\",\"dateModified\":\"2021-08-17T03:38:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\"},\"wordCount\":334,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png\",\"articleSection\":[\"cPanel\",\"Security\",\"Website\",\"Working with Databases\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\",\"name\":\"How to reset a database password within cPanel | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png\",\"datePublished\":\"2012-07-25T11:33:21+00:00\",\"dateModified\":\"2021-08-17T03:38:19+00:00\",\"description\":\"In this tutorial, we'll show you how to reset your database password using cPanel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png\",\"width\":514,\"height\":305,\"caption\":\"change user password\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to reset a database password within cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to reset a database password within cPanel | InMotion Hosting","description":"In this tutorial, we'll show you how to reset your database password using cPanel.","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:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/","og_locale":"en_US","og_type":"article","og_title":"How to reset a database password within cPanel | InMotion Hosting","og_description":"In this tutorial, we'll show you how to reset your database password using cPanel.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-07-25T11:33:21+00:00","article_modified_time":"2021-08-17T03:38:19+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png","type":"","width":"","height":""}],"author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"How to reset a database password within cPanel","datePublished":"2012-07-25T11:33:21+00:00","dateModified":"2021-08-17T03:38:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/"},"wordCount":334,"commentCount":6,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png","articleSection":["cPanel","Security","Website","Working with Databases"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/","name":"How to reset a database password within cPanel | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png","datePublished":"2012-07-25T11:33:21+00:00","dateModified":"2021-08-17T03:38:19+00:00","description":"In this tutorial, we'll show you how to reset your database password using cPanel.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/07\/cpanel_lanternUpdatesMay17_cmPape_16.png","width":514,"height":305,"caption":"change user password"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/reset-database-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to reset a database password within cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":85782,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/434\/revisions\/85782"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}