{"id":1427,"date":"2019-02-08T10:36:02","date_gmt":"2019-02-08T10:36:02","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583542-how-to-create-a-new-mysql-database-in-hostinger\/"},"modified":"2026-10-15T07:46:42","modified_gmt":"2026-10-15T07:46:42","slug":"1583542-how-to-create-a-new-mysql-database-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583542-how-to-create-a-new-mysql-database-in-hostinger\/","title":{"rendered":"How to create a new MySQL Database in Hostinger"},"content":{"rendered":"<p>Create a new MySQL database in Hostinger by entering a database name, username, and password in the <strong>Management<\/strong> section of your website in the Hostinger dashboard. The new database is assigned to the website you select. Each database supports one database user. After you select <strong>Create<\/strong>, the database appears in the <strong>List of Current MySQL Databases And Users<\/strong> section, where you can manage it.<\/p><h2 id=\"h-create-a-database\">Create a database<\/h2><p class=\"no-margin\">To create a new database, navigate 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> &rarr; Dashboard<\/b>, search for <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\/2023\/04\/51d92f44-7c45-4fc9-a1c4-d373fa2c4da8.jpg\" alt=\"Hostinger panel with Databases menu expanded and Management option highlighted\" width=\"250\" data-media-id=\"2926\"><\/div><p class=\"no-margin\">Next, make sure the website to which the database will be assigned is selected on the left drop-down menu:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20689\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-42.png\" alt=\"\" width=\"1156\" height=\"454\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-42.png 1156w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-42-300x118.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-42-1024x402.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-42-768x302.png 768w\" sizes=\"(max-width: 1156px) 100vw, 1156px\" \/><\/div><p class=\"no-margin\">In the section <b>Create a New MySQL Database And Database User, <\/b>enter your database name, username, and password, keeping the following in mind:<\/p><ul>\n<li>\n<p class=\"no-margin\">The first part of the database and username (eg. u123456789) is unique and <b>cannot <\/b>be removed or changed<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Each database can only have one user. If you require multiple users, consider a <b><a data-click-id=\"hgr-post-content-link-vps-plan\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/vps-hosting\" target=\"_blank\" rel=\"noopener\">VPS plan<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">The database password must contain <b>at least<\/b> one number and one uppercase and lowercase letter, with a minimum length of 8 characters<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">Next, then click on <b>Create<\/b>:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20695\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-46.png\" alt=\"\" width=\"1211\" height=\"509\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-46.png 1211w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-46-300x126.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-46-1024x430.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-15_14-46-768x323.png 768w\" sizes=\"(max-width: 1211px) 100vw, 1211px\" \/><\/div><p class=\"no-margin\">Once done, the new database will be assigned to the selected domain automatically and appear in the <b>List of Current MySQL Databases And Users<\/b> section, where you will be able to <b><a data-click-id=\"hgr-post-content-link-manage\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1864454-how-to-manage-mysql-databases-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">manage<\/a><\/b> it.<\/p><p><strong>Manage your new database<\/strong><\/p><ul>\n<li><a data-click-id=\"hgr-post-content-link-manage-mysql-databases-in-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/1864454-how-to-manage-mysql-databases-in-hostinger\/\">Manage MySQL databases in Hostinger<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-change-a-database-password\" href=\"https:\/\/www.hostinger.com\/support\/1583522-how-to-change-a-database-password-in-hostinger\/\">Change a database password<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-change-permissions-for-a-database-user\" href=\"https:\/\/www.hostinger.com\/support\/4564363-how-to-change-permissions-for-a-database-user-in-hostinger\/\">Change permissions for a database user<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-delete-a-database\" href=\"https:\/\/www.hostinger.com\/support\/1583544-how-to-delete-a-database-in-hostinger\/\">Delete a database<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Creating MySQL databases through 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-1427","post","type-post","status-publish","format-standard","hentry","category-database-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583542-how-to-create-a-new-mysql-database-in-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583542-como-crear-una-base-de-datos-mysql-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583542-comment-faire-pour-creer-une-nouvelle-base-de-donnees-mysql-chez-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583542-cara-membuat-database-mysql-baru-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1583542-como-criar-um-novo-banco-de-dados-mysql-na-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583542-\u044f\u043a-\u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438-\u043d\u043e\u0432\u0443-\u0431\u0430\u0437\u0443-\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\/1427","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=1427"}],"version-history":[{"count":7,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1427\/revisions"}],"predecessor-version":[{"id":20696,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1427\/revisions\/20696"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}