{"id":1091,"date":"2025-07-15T11:20:00","date_gmt":"2025-07-15T10:20:00","guid":{"rendered":"https:\/\/www.4uhosting.co.uk\/articles\/knowledgebase\/manage-mysql-databases\/"},"modified":"2026-08-19T14:01:06","modified_gmt":"2026-08-19T13:01:06","slug":"manage-mysql-databases","status":"publish","type":"kb_article","link":"https:\/\/www.4uhosting.co.uk\/articles\/knowledgebase\/manage-mysql-databases\/","title":{"rendered":"How to Manage MySQL Databases in cPanel"},"content":{"rendered":"<figure class=\"wp-block-image\" style=\"margin:1.35rem 0 1.75rem;\"><a href=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/01-mysql-databases-main.png\"><img decoding=\"async\" src=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/01-mysql-databases-main.png\" alt=\"Manage My Databases screen in cPanel\" style=\"display:block;max-width:100%;height:auto;\" \/><\/a><\/figure>\n<h2>Create a Database<\/h2>\n<ol>\n<li>Go to <strong>Databases &gt; Manage My Databases<\/strong>.<\/li>\n<li value=\"2\">Enter the database name.<\/li>\n<\/ol>\n<figure class=\"wp-block-image\" style=\"margin:1.35rem 0 1.75rem;\"><a href=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/02-create-database-form.png\"><img decoding=\"async\" src=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/02-create-database-form.png\" alt=\"Create database form\" style=\"display:block;max-width:100%;height:auto;\" \/><\/a><\/figure>\n<ol start=\"3\">\n<li value=\"3\">Click <strong>Create Database<\/strong>.<\/li>\n<li value=\"4\">Click <strong>Go Back<\/strong> when cPanel confirms the database has been created.<\/li>\n<\/ol>\n<h2>Create a Database User<\/h2>\n<ol>\n<li>Scroll to <strong>MySQL Users<\/strong>.<\/li>\n<li value=\"2\">Enter a username.<\/li>\n<li value=\"3\">Enter and confirm a strong password.<\/li>\n<\/ol>\n<figure class=\"wp-block-image\" style=\"margin:1.35rem 0 1.75rem;\"><a href=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/03-create-user-form.png\"><img decoding=\"async\" src=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/03-create-user-form.png\" alt=\"Create database user form\" style=\"display:block;max-width:100%;height:auto;\" \/><\/a><\/figure>\n<ol start=\"4\">\n<li value=\"4\">Click <strong>Create User<\/strong>.<\/li>\n<li value=\"5\">Click <strong>Go Back<\/strong>.<\/li>\n<\/ol>\n<h2>Add a User to a Database<\/h2>\n<ol>\n<li>Scroll to <strong>Add User To Database<\/strong>.<\/li>\n<li value=\"2\">Choose the user.<\/li>\n<li value=\"3\">Choose the database.<\/li>\n<li value=\"4\">Click <strong>Add<\/strong>.<\/li>\n<\/ol>\n<figure class=\"wp-block-image\" style=\"margin:1.35rem 0 1.75rem;\"><a href=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/04-user-privileges-screen.png\"><img decoding=\"async\" src=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/04-user-privileges-screen.png\" alt=\"Database user privileges screen\" style=\"display:block;max-width:100%;height:auto;\" \/><\/a><\/figure>\n<ol start=\"5\">\n<li value=\"5\">Choose the privileges the user needs.<\/li>\n<li value=\"6\">Click <strong>Make Changes<\/strong>.<\/li>\n<\/ol>\n<h2>Change a Database User Password<\/h2>\n<ol>\n<li>Scroll to <strong>Current Users<\/strong>.<\/li>\n<li value=\"2\">Find the user.<\/li>\n<li value=\"3\">Click <strong>Change Password<\/strong>.<\/li>\n<li value=\"4\">Enter and confirm the new password.<\/li>\n<li value=\"5\">Click <strong>Change Password<\/strong>.<\/li>\n<\/ol>\n<h2>Rename a Database<\/h2>\n<ol>\n<li>Scroll to <strong>Current Databases<\/strong>.<\/li>\n<li value=\"2\">Find the database.<\/li>\n<li value=\"3\">Click <strong>Rename<\/strong>.<\/li>\n<li value=\"4\">Enter the new database name.<\/li>\n<li value=\"5\">Confirm the change.<\/li>\n<\/ol>\n<h2>Repair a Database<\/h2>\n<ol>\n<li>Scroll to <strong>Modify Databases<\/strong>.<\/li>\n<li value=\"2\">Choose the database from <strong>Repair Database<\/strong>.<\/li>\n<li value=\"3\">Click <strong>Repair Database<\/strong>.<\/li>\n<\/ol>\n<h2>Delete a Database or User<\/h2>\n<ol>\n<li>Find the database or user you want to remove.<\/li>\n<li value=\"2\">Click <strong>Delete<\/strong>.<\/li>\n<li value=\"3\">Confirm the deletion.<\/li>\n<\/ol>\n<h2>Notes<\/h2>\n<ul>\n<li>Removing a user from a database does not delete the database.<\/li>\n<li>Deleting a database deletes the data inside it.<\/li>\n<li>Take a backup before deleting or renaming an important database.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Create a Database Go to Databases &gt; Manage My Databases. Enter the database name. Click Create Database. Click Go Back when cPanel confirms the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","kb_category":[19],"class_list":["post-1091","kb_article","type-kb_article","status-publish","hentry","kb_category-cpanel-databases"],"_links":{"self":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/1091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article"}],"about":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/types\/kb_article"}],"author":[{"embeddable":true,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/1091\/revisions"}],"predecessor-version":[{"id":1280,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/1091\/revisions\/1280"}],"wp:attachment":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/media?parent=1091"}],"wp:term":[{"taxonomy":"kb_category","embeddable":true,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_category?post=1091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}