{"id":1142,"date":"2020-12-14T07:35:18","date_gmt":"2020-12-14T07:35:18","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/12\/14\/4719059-how-to-change-a-database-password-on-cpanel-at-hostinger\/"},"modified":"2026-08-05T09:42:44","modified_gmt":"2026-08-05T09:42:44","slug":"4719059-how-to-change-a-database-password-on-cpanel-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4719059-how-to-change-a-database-password-on-cpanel-at-hostinger\/","title":{"rendered":"How to change a database password on cPanel at Hostinger"},"content":{"rendered":"<p>Change your database&rsquo;s password directly in cPanel.<\/p><h2 id=\"h-change-your-database-password\">Change your database password<\/h2><p class=\"no-margin\">You can change your database&rsquo;s password by navigating to your <b>cPanel<\/b> <b>account <\/b>and selecting <b>MySQL&reg; Databases<\/b> section:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/0343a4f3-8f5d-4b8a-9812-e9ea61db683b.jpg\" alt=\"cPanel Databases section with MySQL Databases tile highlighted\" data-media-id=\"4523\"><\/div><p class=\"no-margin\">Once there, scroll down to the bottom of the page to find the <b>Current Users <\/b>section. Locate your database user and click on <b>Change Password<\/b> next to it:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/blog.hostinger.io\/pt\/support\/wp-content\/uploads\/sites\/59\/2022\/08\/d27884ef-fe69-45dc-bc73-d26dd0df2b4b.jpg\" width=\"600\"><\/div><p class=\"no-margin\">Enter the database password twice and click on <b>Change Password<\/b>. You can use the built-in password generator feature to ensure you&rsquo;re creating a strong password.<\/p><p class=\"no-margin\">That&rsquo;s it! Now you know how to change your database password on cPanel.<\/p><p><strong>NOTES<\/strong><\/p><ul>\n<li>If your MySQL&reg; Databases section appears empty, make sure to <b><a class=\"intercom-content-link\" href=\"\/support\/4548533-how-can-i-create-a-new-mysql-database-in-cpanel\/\" target=\"_blank\" rel=\"noopener\">create a MySQL database and assign a user<\/a><\/b> first &#128161;<\/li>\n<li>To find your database&rsquo;s other connection details, such as the host or database name, see <strong><a href=\"https:\/\/www.hostinger.com\/support\/4719044-how-to-find-your-mysql-database-details-on-cpanel-at-hostinger\/\">how to find your MySQL database details on cPanel at Hostinger.<\/a><\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Changing MySQL database password via cPanel<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[195],"tags":[],"class_list":["post-1142","post","type-post","status-publish","format-standard","hentry","category-mysql"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4719059-how-to-change-a-database-password-on-cpanel-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4719059-como-puedo-cambiar-la-contrasena-de-una-base-de-datos-en-cpanel\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4719059-comment-puis-je-changer-un-mot-de-passe-de-base-de-donnees-sur-cpanel-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4719059-cara-mengubah-password-database-di-cpanel-at-hostinger\/","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/4719059-como-posso-alterar-uma-senha-de-banco-de-dados-no-cpanel-na-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1142"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1142\/revisions"}],"predecessor-version":[{"id":14477,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1142\/revisions\/14477"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}