{"id":1433,"date":"2019-02-08T10:36:02","date_gmt":"2019-02-08T10:36:02","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583522-how-to-change-a-database-password-in-hostinger\/"},"modified":"2026-10-29T15:06:10","modified_gmt":"2026-10-29T15:06:10","slug":"1583522-how-to-change-a-database-password-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583522-how-to-change-a-database-password-in-hostinger\/","title":{"rendered":"How to change a database password in Hostinger"},"content":{"rendered":"<p>Change a database password in Hostinger to update MySQL access credentials directly from Hostinger dashboard.<\/p><h2 id=\"h-change-a-database-password\">Change a database password<\/h2><p class=\"no-margin\">You can change your database&rsquo;s password by navigating to <b><a data-click-id=\"hgr-post-content-link-websites\" class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a>&nbsp;<\/b>&rarr; <b>Manage site<\/b>, search for <b>Databases Management <\/b>on<b> <\/b>the left sidebar, and clicking on it:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2019\/02\/5e9af044-87d4-4f31-9589-7e71dfb4a4f7.jpg\/public\" alt=\"Hostinger dashboard Databases menu with the Management option highlighted\" width=\"298\" height=\"333\" data-media-id=\"5105\"><\/div><p class=\"no-margin\">In front of the database in question, click on the Options button<strong> (&#8942;)<\/strong> and choose <b>Change Password<\/b>:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20699\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49.png\/public\" alt=\"\" width=\"1151\" height=\"532\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49.png\/w=1151,fit=scale-down 1151w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1151px) 100vw, 1151px\" \/><\/div><p class=\"no-margin\">There is also an option to generate a strong password automatically.<\/p><p class=\"no-margin\"><b>NOTES<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">Changing your database password may <b>disconnect it from your website<\/b>. To fix it, refer to this article: <b><a data-click-id=\"hgr-post-content-link-how-to-fix-error-establishing-a-database-connection\" class=\"intercom-content-link\" href=\"\/tutorials\/how-to-fix-error-establishing-a-database-connection-in-wordpress\/\" target=\"_blank\" rel=\"noopener\">How to fix &ldquo;Error establishing a database connection&rdquo;<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">If your<b> List of Current MySQL Databases And Users <\/b>section is empty, you need to <b><a data-click-id=\"hgr-post-content-link-create-a-mysql-database\" class=\"intercom-content-link\" href=\"\/support\/1583542-how-to-create-a-new-mysql-database-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">create a MySQL database<\/a><\/b> first<\/p>\n<\/li>\n<\/ul><h2 id=\"h-change-a-database-password-in-hostinger-agency-hosting\">Change a database password in Hostinger Agency Hosting<\/h2><p>Change your database password on an Agency Hosting plan directly from Hostinger dashboard.<\/p><ol>\n<li>Navigate to <b><a data-click-id=\"hgr-post-content-link-websites-2\" class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a>&nbsp;<\/b>&rarr;<strong> Manage site<\/strong><\/li>\n<li>Search for <strong>Databases<\/strong> in the sidebar search and click it.<\/li>\n<li>Next to the database&rsquo;s MySQL user, click the <strong>arrow (&rsaquo;)<\/strong> to open the <strong>MySQL Users<\/strong> panel.<img decoding=\"async\" class=\"alignnone size-full wp-image-18325\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-19.png\/public\" alt=\"\" width=\"1874\" height=\"773\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-19.png\/w=1874,fit=scale-down 1874w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-19.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-19.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-19.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-19.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 1874px) 100vw, 1874px\" \/><\/li>\n<li>Click the <strong>Options button (&#8942;)<\/strong> next to the username and choose <strong>Change password<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone wp-image-18326 size-full\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-20-e1789612066192.png\/public\" alt=\"\" width=\"584\" height=\"423\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-20-e1789612066192.png\/w=584,fit=scale-down 584w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-20-e1789612066192.png\/w=300,fit=scale-down 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/li>\n<li>Enter a new password, or generate one automatically.<\/li>\n<li>Click <strong>Confirm<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-18327\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-20_1.png\/public\" alt=\"\" width=\"663\" height=\"405\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-20_1.png\/w=663,fit=scale-down 663w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-17_09-20_1.png\/w=300,fit=scale-down 300w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/li>\n<\/ol><p><strong>NOTE<\/strong><\/p><ul>\n<li>Changing the password here does not automatically update your configuration files. Update your config file with the new password afterward to avoid connection issues.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Changing a MySQL database password via Hostinger dashboard at Hostinger<\/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":[245],"tags":[],"class_list":["post-1433","post","type-post","status-publish","format-standard","hentry","category-database-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583522-how-to-change-a-database-password-in-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583522-como-cambiar-la-contrasena-de-la-base-de-datos-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583522-comment-changer-un-mot-de-passe-de-base-de-donnees","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583522-bagaimana-cara-mengganti-password-database-mysql-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1583522-como-trocar-a-senha-de-um-banco-de-dados-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583522-\u044f\u043a-\u0437\u043c\u0456\u043d\u0438\u0442\u0438-\u043f\u0430\u0440\u043e\u043b\u044c-\u0434\u043e-\u0431\u0430\u0437\u0438-\u0434\u0430\u043d\u0438\u0445-\u0443-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1433","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=1433"}],"version-history":[{"count":9,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1433\/revisions"}],"predecessor-version":[{"id":23322,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1433\/revisions\/23322"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}