{"id":14217,"date":"2024-10-01T10:52:51","date_gmt":"2024-10-01T10:52:51","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=14217"},"modified":"2024-10-07T09:10:33","modified_gmt":"2024-10-07T09:10:33","password":"","slug":"how-to-create-a-database-on-cyberpanel","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/","title":{"rendered":"How to Create and Manage Databases on Cyberpanel"},"content":{"rendered":"\n<p>Creating a database in CyberPanel is a simple process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You must have <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-cyberpanel-ubuntu-and-almalinux\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>CyberPanel<\/strong> <strong>installed<\/strong> <\/a>on your server.<\/li>\n\n\n\n<li>You should have a <strong><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-domain-and-subdomain-on-cyberpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\">website created<\/a><\/strong> on CyberPanel to associate the database with (or you can create one during this process).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Create a Database on CyberPanel:<\/h2>\n\n\n\n<p><strong>Step 1<\/strong>: Log in to CyberPanel. If you do not know how to, please refer to <strong><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-cyberpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\">these steps<\/a><\/strong><\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Once logged in navigate to the Database Section<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the left-hand sidebar, click on <strong>Databases<\/strong> or just use the big blue button in the landing page once you log in.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"873\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1024x873.png\" alt=\"\" class=\"wp-image-14218\" style=\"width:759px;height:auto\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1024x873.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-300x256.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-768x655.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image.png 1063w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. In the drop-down, click on <strong>Create Database<\/strong>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"452\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1-1024x452.png\" alt=\"\" class=\"wp-image-14219\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1-1024x452.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1-300x132.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1-768x339.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1.png 1186w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3<\/strong>: Fill in the Database Details. You will see a form which needs you to fill the following;<\/p>\n\n\n\n<p><strong><em>Select Websit<\/em>e<\/strong>: From the drop-down list, choose the website you want to associate this database with. If you haven\u2019t created a website yet, create one by going to <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-domain-and-subdomain-on-cyberpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Websites > Create Website<\/strong> <\/a>before proceeding.<\/p>\n\n\n\n<p><em><strong>Database Name<\/strong>:<\/em> Enter the name for your database. E.g, <code>my_wp_db<\/code> and save it somewhere for later use<\/p>\n\n\n\n<p><strong><em>Database Username<\/em><\/strong>: Create a username that will be used to access this database and save it somewhere for later use.<\/p>\n\n\n\n<p><em><strong>Database Password<\/strong>:<\/em> Set a strong password for this user, and save it somewhere for later use<\/p>\n\n\n\n<p><strong>Step 4:<\/strong> Create the Database<\/p>\n\n\n\n<p>Once you&#8217;ve filled out the details, click <strong>Create Database<\/strong>. <\/p>\n\n\n\n<p>You will notice that when you fill in your database name, and username the system automatically adds a prefix to it, as highlighted in green, in the image below. The full database or db user name will then be the<strong> prefix+what you filled in<\/strong>, as highlight below in green.  E.g <strong>true_demodb<\/strong> instead of just <strong>demodb<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-2-1024x551.png\" alt=\"\" class=\"wp-image-14220\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-2-1024x551.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-2-300x161.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-2-768x413.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-2.png 1169w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5: Access the Database (Optional)<\/h4>\n\n\n\n<p>To access and manage the database you can either use the sidebar or go to <strong>Dashboard-&gt;Databases <\/strong>and you will see various options.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"873\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-5.png\" alt=\"\" class=\"wp-image-14224\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-5.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-5-300x256.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-5-768x655.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Databases &gt; phpMyAdmin<\/strong> in the sidebar to access phpMyAdmin. <br>From here, you can manage your database, import\/export data, or run SQL queries.<\/li>\n\n\n\n<li>Go to <strong>Databases &gt; List Databases <\/strong> to see created databases.<\/li>\n\n\n\n<li>Go to <strong>Databases &gt; Delete Database <\/strong> to delete an existing database.<\/li>\n\n\n\n<li>Log in using the <strong>database username<\/strong> and <strong>password<\/strong> you just created.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Creating a database in CyberPanel is a simple process. Prerequisites: Steps to Create a Database on CyberPanel: Step 1: Log in to CyberPanel. If you do not know how to, please refer to these steps Step 2: Once logged in navigate to the Database Section 3. In the drop-down, click on Create Database. Step 3: [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1820,2121,1833,1879,2128],"doc_tag":[],"class_list":["post-14217","docs","type-docs","status-publish","hentry","doc_category-cloud-servers-in-kenya","doc_category-cyberpanel","doc_category-mysql","doc_category-servers","doc_category-vps-servers"],"year_month":"2026-06","word_count":366,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Eugene","author_nicename":"eugene","author_url":"https:\/\/truehost.com\/support\/author\/eugene\/"},"doc_category_info":[{"term_name":"Cloud servers in Kenya","term_url":"https:\/\/truehost.com\/support\/docs-category\/cloud-servers-in-kenya\/"},{"term_name":"Cyberpanel","term_url":"https:\/\/truehost.com\/support\/docs-category\/cyberpanel\/"},{"term_name":"MySQL","term_url":"https:\/\/truehost.com\/support\/docs-category\/mysql\/"},{"term_name":"Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/servers\/"},{"term_name":"VPS-Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/vps-servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create and Manage Databases on Cyberpanel -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create and Manage Databases on Cyberpanel -\" \/>\n<meta property=\"og:description\" content=\"Creating a database in CyberPanel is a simple process. Prerequisites: Steps to Create a Database on CyberPanel: Step 1: Log in to CyberPanel. If you do not know how to, please refer to these steps Step 2: Once logged in navigate to the Database Section 3. In the drop-down, click on Create Database. Step 3: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-07T09:10:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1024x873.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/\",\"name\":\"How to Create and Manage Databases on Cyberpanel -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-1024x873.png\",\"datePublished\":\"2024-10-01T10:52:51+00:00\",\"dateModified\":\"2024-10-07T09:10:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-1024x873.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-1024x873.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-create-a-database-on-cyberpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create and Manage Databases on Cyberpanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create and Manage Databases on Cyberpanel -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Create and Manage Databases on Cyberpanel -","og_description":"Creating a database in CyberPanel is a simple process. Prerequisites: Steps to Create a Database on CyberPanel: Step 1: Log in to CyberPanel. If you do not know how to, please refer to these steps Step 2: Once logged in navigate to the Database Section 3. In the drop-down, click on Create Database. Step 3: [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/","article_modified_time":"2024-10-07T09:10:33+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1024x873.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/","name":"How to Create and Manage Databases on Cyberpanel -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1024x873.png","datePublished":"2024-10-01T10:52:51+00:00","dateModified":"2024-10-07T09:10:33+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1024x873.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-1024x873.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-database-on-cyberpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Create and Manage Databases on Cyberpanel"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=14217"}],"version-history":[{"count":7,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14217\/revisions"}],"predecessor-version":[{"id":14557,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14217\/revisions\/14557"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=14217"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=14217"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=14217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}