{"id":1420,"date":"2019-02-08T10:36:02","date_gmt":"2019-02-08T10:36:02","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583552-how-to-find-your-mysql-database-details-in-hostinger\/"},"modified":"2026-10-15T08:22:50","modified_gmt":"2026-10-15T08:22:50","slug":"1583552-how-to-find-your-mysql-database-details-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583552-how-to-find-your-mysql-database-details-in-hostinger\/","title":{"rendered":"How to find your MySQL database details in Hostinger"},"content":{"rendered":"<p>Find your MySQL database details in Hostinger to connect your database to a website or application.<\/p><h2 id=\"h-find-your-database-details\">Find your database details<\/h2><p class=\"no-margin\">Go to the <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><\/b> section and click on <b>Dashboard<\/b> next to the site in question. Then, search for <b>Databases<\/b> <b>Management <\/b>on the sidebar and click on it:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/83eb0702-0606-450a-baa2-a9efcd48314a.jpg\" alt=\"Hostinger dashboard sidebar with the Databases &gt; Management menu item highlighted\" width=\"250\" data-media-id=\"5133\"><\/div><p class=\"no-margin\">Once there, scroll down to the desired database, and the details will be shown right under <b>MySQL Database <\/b>and<b> MySQL User<\/b>. Below the database name, you will also find its size:<\/p><div class=\"intercom-container\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20714\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-22.png\" alt=\"\" width=\"1182\" height=\"452\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-22.png 1182w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-22-300x115.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-22-1024x392.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_15-22-768x294.png 768w\" sizes=\"(max-width: 1182px) 100vw, 1182px\" \/><\/div><p class=\"no-margin\">The <b>hostname<\/b> for all databases is <b>localhost<\/b>.<\/p><p class=\"no-margin\">If you&rsquo;re looking for the <b>database password<\/b>, it&rsquo;s the one you set up while creating the database. If you don&rsquo;t remember the password, you can easily <a data-click-id=\"hgr-post-content-link-reset-it\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1583522-how-to-change-a-database-password-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">reset it<\/a> by clicking on the vertical ellipsis icon next to the database:<\/p><div class=\"intercom-container\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20699\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49.png\" alt=\"\" width=\"1151\" height=\"532\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49.png 1151w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49-300x139.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49-1024x473.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-49-768x355.png 768w\" sizes=\"(max-width: 1151px) 100vw, 1151px\" \/><\/div><p class=\"no-margin\">That&rsquo;s it &ndash; now you know how to locate your MySQL database details on Hostinger dashboard!<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">For a broader look at managing your databases, see <a data-click-id=\"hgr-post-content-link-how-to-manage-mysql-databases-in-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/1864454-how-to-manage-mysql-databases-in-hostinger\/\">how to manage MySQL databases in Hostinger.<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Checking your MySQL database details via Hostinger dashboard<\/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-1420","post","type-post","status-publish","format-standard","hentry","category-database-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583552-how-to-find-your-mysql-database-details-in-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583552-como-encontrar-detalles-de-la-base-de-datos-mysql-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583552-comment-trouver-les-details-de-vos-bases-de-donnees-mysql-chez-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583552-cara-menemukan-detail-database-mysql-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1583552-como-localizar-os-detalhes-do-seu-banco-de-dados-mysql-na-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583552-\u044f\u043a-\u0437\u043d\u0430\u0439\u0442\u0438-\u0434\u0430\u043d\u0456-\u0431\u0430\u0437\u0438-\u0434\u0430\u043d\u0438\u0445-mysql-\u043d\u0430-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1420","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=1420"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1420\/revisions"}],"predecessor-version":[{"id":20715,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1420\/revisions\/20715"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}