{"id":1331,"date":"2019-02-08T10:36:10","date_gmt":"2019-02-08T10:36:10","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1864454-how-to-manage-mysql-databases-in-hostinger\/"},"modified":"2026-11-25T08:17:03","modified_gmt":"2026-11-25T08:17:03","slug":"1864454-how-to-manage-mysql-databases-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1864454-how-to-manage-mysql-databases-in-hostinger\/","title":{"rendered":"How to manage MySQL databases in Hostinger"},"content":{"rendered":"<p>MySQL databases in Hostinger are managed on the <b>Databases<\/b> page of each website in the <a data-click-id=\"hgr-post-content-link-website-section-of-hostinger-dashboard\" href=\"https:\/\/www.hostinger.com\/support\/6501982-how-to-use-the-websites-section-in-hostinger\/\">Website section of Hostinger dashboard<\/a>. The page lists the website\u2019s databases with their user, external connection status, size, and state, and lets you add a new database, assign an existing one, or open a database\u2019s page to manage it. MySQL is the database management system your website uses to store its data. See <a data-click-id=\"hgr-post-content-link-which-database-management-system-is-used-at-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/1583226-which-database-management-system-is-used-at-hostinger\/\">which database management system is used at Hostinger<\/a> for more on how it works.<\/p>\n<h2 id=\"h-open-the-databases-page-in-hostinger-dashboard\">Open the Databases page in Hostinger dashboard<\/h2>\n<ol>\n<li>Go to <a data-click-id=\"hgr-post-content-link-websites\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\"><b>Websites<\/b><\/a> \u2192 <b>Manage site<\/b>. The website\u2019s <a data-click-id=\"hgr-post-content-link-dashboard\" href=\"https:\/\/www.hostinger.com\/support\/6627955-how-to-use-the-hosting-dashboard-in-hostinger\/\">Dashboard<\/a> opens.<\/li>\n<li>Select <b>Databases<\/b> in the left sidebar.<\/li>\n<\/ol>\n<p>The <b>Databases<\/b> page lists the databases assigned to the website selected under <b>Website name<\/b> at the top of the sidebar. To see another website\u2019s databases, select that website from the <b>Website name<\/b> dropdown.<\/p>\n<p>Each database in the list shows five details:<\/p>\n<ul>\n<li><b>Database<\/b> \u2013 the database name, such as <code>u123456789_shop<\/code>.<\/li>\n<li><b>User<\/b> \u2013 the MySQL user of the database.<\/li>\n<li><b>External connections<\/b> \u2013 whether connections from outside your hosting plan are allowed.<\/li>\n<li><b>Size<\/b> \u2013 the database size.<\/li>\n<li><b>State<\/b> \u2013 whether the database is assigned to the website, for example <b>Assigned<\/b>.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26004\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-07.png\" alt=\"\" width=\"1627\" height=\"637\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-07.png 1627w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-07-300x117.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-07-1024x401.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-07-768x301.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-07-1536x601.png 1536w\" sizes=\"(max-width: 1627px) 100vw, 1627px\" \/><\/p>\n<p>Click <b>phpMyAdmin<\/b> next to a database to open it in phpMyAdmin, or click \u203a to open the database\u2019s page.<\/p>\n<h2 id=\"h-view-all-databases-on-your-hostinger-hosting-plan\">View all databases on your Hostinger hosting plan<\/h2>\n<p>Click <b>View plan databases<\/b> on the <b>Databases<\/b> page to see every database on your hosting plan, across all websites. The <b>Databases on your plan<\/b> window lists each database with the website it\u2019s assigned to and its size. Use the search bar to find a database by database name, user, or website.<\/p>\n<p>Click \u22ee next to a database in the list to <b>Repair<\/b>, <b>Change password<\/b>, <b>Change permissions<\/b>, <b>Unassign<\/b>, or <b>Delete<\/b> it.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26005\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09.png\" alt=\"\" width=\"754\" height=\"567\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09.png 754w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09-300x226.png 300w\" sizes=\"(max-width: 754px) 100vw, 754px\" \/><\/p>\n<h2 id=\"h-add-a-new-or-existing-database-to-a-website-in-hostinger\">Add a new or existing database to a website in Hostinger<\/h2>\n<p>Click <b>Add database<\/b> on the <b>Databases<\/b> page to add a database to the selected website.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26006\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09_1.png\" alt=\"\" width=\"1209\" height=\"292\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09_1.png 1209w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09_1-300x72.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09_1-1024x247.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-09_1-768x185.png 768w\" sizes=\"(max-width: 1209px) 100vw, 1209px\" \/><\/p>\n<p>The <b>Set up your MySQL database<\/b> window offers two options:<\/p>\n<ul>\n<li><b>Create a new database<\/b> \u2013 create a MySQL database and user, as explained in <a data-click-id=\"hgr-post-content-link-how-to-create-a-new-mysql-database-in-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/1583542-how-to-create-a-new-mysql-database-in-hostinger\/\">how to create a new MySQL database in Hostinger<\/a>.<\/li>\n<li><b>Assign an existing database<\/b> \u2013 use a database that already exists on your hosting plan for this website.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26007\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-10.png\" alt=\"\" width=\"546\" height=\"360\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-10.png 546w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-10-300x198.png 300w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/><\/p>\n<p>To assign an existing database:<\/p>\n<ol>\n<li>Click <b>Add database<\/b>, select <b>Assign an existing database<\/b>, and click <b>Continue<\/b>.<\/li>\n<li>In the <b>Choose a database to assign<\/b> window, find a database with <b>Not assigned<\/b> in the <b>Website<\/b> column.<\/li>\n<li>Click <b>Assign<\/b> next to it.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26008\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-10_1.png\" alt=\"\" width=\"744\" height=\"570\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-10_1.png 744w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-10_1-300x230.png 300w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/p>\n<h2 id=\"h-manage-a-database-from-its-page-in-hostinger-dashboard\">Manage a database from its page in Hostinger dashboard<\/h2>\n<p>Click \u203a next to a database on the <b>Databases<\/b> page to open the database\u2019s page. The top of the page shows the database name, size, and creation date, with a <b>phpMyAdmin<\/b> button. See <a data-click-id=\"hgr-post-content-link-how-to-access-phpmyadmin-at-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/1583545-how-to-access-phpmyadmin-at-hostinger\/\">how to access phpMyAdmin at Hostinger<\/a> for more on using this tool.<\/p>\n<p>The <b>Connection<\/b> card lists the database\u2019s <b>Host<\/b>, <b>Port<\/b>, <b>Database<\/b>, <b>Username<\/b>, <b>Access<\/b>, and <b>Password<\/b>. To find these details for a specific database, see <a data-click-id=\"hgr-post-content-link-how-to-find-your-mysql-database-details-in-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/1583552-how-to-find-your-mysql-database-details-in-hostinger\/\">how to find your MySQL database details in Hostinger<\/a>. From the same card, you can change the <a data-click-id=\"hgr-post-content-link-current-database-password\" href=\"https:\/\/www.hostinger.com\/support\/1583522-how-to-change-a-database-password-in-hostinger\/\">current database password<\/a> and the user\u2019s <a data-click-id=\"hgr-post-content-link-various-permissions\" href=\"https:\/\/www.hostinger.com\/support\/4564363-how-to-change-permissions-for-a-database-user-in-hostinger\/\">various permissions<\/a>.<\/p>\n<p>The <b>External connections<\/b> card lets you allow an IP address to connect to the database from outside your hosting plan. See <a data-click-id=\"hgr-post-content-link-how-to-set-up-remote-mysql-access-in-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/1583546-how-to-set-up-remote-mysql-access-in-hostinger\/\">how to set up remote MySQL access in Hostinger<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26010\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14.png\" alt=\"\" width=\"1143\" height=\"705\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14.png 1143w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14-300x185.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14-1024x632.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14-768x474.png 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/p>\n<p>Click \u22ee at the top of the database\u2019s page for four more actions:<\/p>\n<ul>\n<li><b>Import data<\/b> \u2013 import a <code>.sql<\/code> or <code>.sql.gz<\/code> file into the database.<\/li>\n<li><b>Repair<\/b> \u2013 analyze and optimize the database tables, so the database keeps working correctly. Confirm with <b>Repair<\/b> in the <b>Repair Database<\/b> window.<\/li>\n<li><b>Unassign<\/b> \u2013 remove the database from the website without deleting it. Confirm with <b>Unassign<\/b> in the <b>Unassign database<\/b> window.<\/li>\n<li><a data-click-id=\"hgr-post-content-link-delete\" href=\"https:\/\/www.hostinger.com\/support\/1583544-how-to-delete-a-database-in-hostinger\/\"><b>Delete<\/b><\/a> \u2013 delete the database permanently. Confirm with <b>Delete<\/b> in the <b>Delete Database<\/b> window.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26011\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14_1.png\" alt=\"\" width=\"1138\" height=\"319\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14_1.png 1138w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14_1-300x84.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14_1-1024x287.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-14_1-768x215.png 768w\" sizes=\"(max-width: 1138px) 100vw, 1138px\" \/><\/p>\n<p>If you\u2019re running out of space, see <a data-click-id=\"hgr-post-content-link-what-to-do-if-the-database-size-limit-has-been-reached\" href=\"https:\/\/www.hostinger.com\/support\/5534251-what-to-do-if-the-database-size-limit-has-been-reached-in-hostinger\/\">what to do if the database size limit has been reached<\/a>. If the database size in Hostinger dashboard is higher than in phpMyAdmin, see <a data-click-id=\"hgr-post-content-link-why-the-database-size-in-the-hostinger-dashboard-is-higher-t\" href=\"https:\/\/www.hostinger.com\/support\/why-the-database-size-in-the-hostinger-dashboard-is-higher-than-in-phpmyadmin\/\">Why the database size in the Hostinger dashboard is higher than in phpMyAdmin<\/a>.<\/p>\n<p>From the <b>Databases<\/b> page, you can add, assign, and manage every MySQL database of your website, and open any database in phpMyAdmin with one click.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View, add, assign, and manage the MySQL databases of each website in Hostinger dashboard.<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[245],"tags":[],"class_list":["post-1331","post","type-post","status-publish","format-standard","hentry","category-database-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1864454-how-to-manage-mysql-databases-in-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1864454-como-administrar-bases-de-datos-mysql-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1864454-comment-gerer-les-bases-de-donnees-mysql-chez-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1864454-cara-mengelola-database-mysql-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1864454-como-gerenciar-bancos-de-dados-mysql-na-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1864454-\u044f\u043a-\u043a\u0435\u0440\u0443\u0432\u0430\u0442\u0438-\u0431\u0430\u0437\u0430\u043c\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\/1331","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=1331"}],"version-history":[{"count":11,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1331\/revisions"}],"predecessor-version":[{"id":26012,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1331\/revisions\/26012"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}