{"id":438,"date":"2026-07-02T07:37:39","date_gmt":"2026-07-02T07:37:39","guid":{"rendered":"https:\/\/packetra.com\/knowledgebase\/?post_type=ht_kb&#038;p=438"},"modified":"2026-07-02T07:37:40","modified_gmt":"2026-07-02T07:37:40","slug":"how-to-directadmin-sql-databases","status":"publish","type":"ht_kb","link":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/","title":{"rendered":"How to DirectAdmin \u2013 SQL Databases"},"content":{"rendered":"\n<p class=\"has-primary-color has-text-color has-link-color has-small-font-size wp-elements-1 wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#9c9c9c\" class=\"has-inline-color\">You can manage your DirectAdmin SQL Databases easily through the DirectAdmin portal. This guide walks you through how to add an SQL Database and user in DirectAdmin for your Packetra hosting.<\/mark><\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">This article applies only to <strong>Packetra <\/strong>account holders. It assumes you already logged into DirectAdmin. Don&#8217;t have a hosting account yet? Check out our <a href=\"https:\/\/packetra.com\/hosting\/shared-hosting\"><strong>Shared Hosting<\/strong><\/a> or <a href=\"https:\/\/packetra.com\/hosting\/wordpress-hosting\"><strong>WordPress Hosting<\/strong><\/a>. Already have one? <a href=\"https:\/\/portal.packetra.com\/login\"><strong>Log in<\/strong><\/a> to your portal. Click the DirectAdmin hosting service, then click the &#8220;<strong>Log in to DirectAdmin<\/strong>&#8221; button on the content page to follow the guide below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading step-heading\">Find the Databases Section<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, open the Account Manager dropdown in the Control Panel navigation. Select the <strong>Databases <\/strong>button. This way, you can either add\/remove a database or user, this area is for the total management of your SQL Databases including access directly to your <strong>PHPMyAdmin<\/strong> (This is the tool that allows you to work directly with SQL).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1410\" height=\"584\" src=\"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1.png\" alt=\"Databases overview, full access to create databases, access phpmyadmin or manage database users.\" class=\"wp-image-439\" style=\"width:920px;height:auto\" srcset=\"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1.png 1410w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1-300x124.png 300w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1-1024x424.png 1024w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1-768x318.png 768w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1-60x25.png 60w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1-100x41.png 100w\" sizes=\"auto, (max-width: 1410px) 100vw, 1410px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading step-heading\">Create a Database<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Next, on this page you scroll down to the Create section, once you are there you will fill in the &#8220;Database Name&#8221;, &#8220;User name&#8221; and &#8220;Password&#8221;, or toggle Advanced for extra options during creation. Then simply click <strong>Create<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1410\" height=\"533\" src=\"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen2.png\" alt=\"Create screen where Database is created.\" class=\"wp-image-440\" srcset=\"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen2.png 1410w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen2-300x113.png 300w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen2-1024x387.png 1024w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen2-768x290.png 768w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen2-60x23.png 60w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen2-100x38.png 100w\" sizes=\"auto, (max-width: 1410px) 100vw, 1410px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading step-heading\">Database is Created<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Next, Now that the database and username is created, you will scroll up to the Databases list and click the button that says <strong>Manage Users<\/strong>. By default the user that was created, will have full privileges to the database but by clicking the <strong>Manage Users<\/strong> you can customize the permissions and or add even another user to the same database.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"737\" src=\"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen5.png\" alt=\"Overview over Manage User screen where you can manage and revoke privilileges for a user\/database.\" class=\"wp-image-443\" srcset=\"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen5.png 1024w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen5-300x216.png 300w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen5-768x553.png 768w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen5-60x43.png 60w, https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen5-100x72.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once you are on this page, you can either adjust the <strong>Privileges<\/strong>, You can <strong>Manage<\/strong> the database such as add users to it, and <strong>Revoke Access<\/strong> for a particular user, which is a nice feature if you have a temporary access created to the database for a developer which has certain access rights. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is it. Now you know how to add\/remove SQL Databases through your DirectAdmin hosting panel and manage it&#8217;s users and privilileges.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Frequently Asked Questions<\/strong><br><br><strong>What does the Advanced toggle do when creating a database?<\/strong><br>By default, you enter the database name, username, and password yourself. Turn on Advanced when you want extra control over the setup. Leave it off for a quick, standard database creation.<br><br><strong>Can I have more than one user on the same database?<\/strong><br>Yes. Open Manage Users on the database in the list. From there you can add another user and set their privileges. So you can give a developer their own login rather than sharing the main one.<br><strong><br>How do I remove a user&#8217;s access later?<\/strong><br>Go to Manage Users for that database. Then use Revoke Access for the user you want to remove. This works well for temporary access, since you can pull it once the developer finishes the work.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-success\"><strong>Good to Know<\/strong><br>Keep your database credentials handy, since your applications, such as WordPress, need them to connect. When you set up a site, use these details in its configuration file. For security, give each user only the privileges they actually need rather than full access by default. So if you create a login for a developer or a specific task, limit its permissions and revoke it once the work is done. Run into any issues? Open a support ticket through the <a href=\"https:\/\/portal.packetra.com\/submitticket.php\"><strong>client portal<\/strong><\/a> and our team will help you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can manage your DirectAdmin SQL Databases easily through the DirectAdmin portal. This guide walks you through how to add an SQL Database and user in DirectAdmin for your Packetra hosting. Find the Databases Section First, open the Account Manager dropdown in the Control Panel navigation. Select the Databases button&#8230;.<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[68],"ht-kb-tag":[69,64],"class_list":["post-438","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-directadmin-hosting","ht_kb_tag-directadmin","ht_kb_tag-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DirectAdmin Databases \u2013 How to add SQL Databases | Packetra<\/title>\n<meta name=\"description\" content=\"Learn how to setup sql database in you DirectAdmin hosting panel through your Packetra hosting account. Add SQL databases in few clicks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DirectAdmin Databases \u2013 How to add SQL Databases | Packetra\" \/>\n<meta property=\"og:description\" content=\"Learn how to setup sql database in you DirectAdmin hosting panel through your Packetra hosting account. Add SQL databases in few clicks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/\" \/>\n<meta property=\"og:site_name\" content=\"Packetra Knowledgebase\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-02T07:37:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1410\" \/>\n\t<meta property=\"og:image:height\" content=\"584\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/\",\"url\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/\",\"name\":\"DirectAdmin Databases \u2013 How to add SQL Databases | Packetra\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/da_art7_screen1.png\",\"datePublished\":\"2026-07-02T07:37:39+00:00\",\"dateModified\":\"2026-07-02T07:37:40+00:00\",\"description\":\"Learn how to setup sql database in you DirectAdmin hosting panel through your Packetra hosting account. Add SQL databases in few clicks.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/#primaryimage\",\"url\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/da_art7_screen1.png\",\"contentUrl\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/da_art7_screen1.png\",\"width\":1410,\"height\":584},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/how-to-directadmin-sql-databases\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to DirectAdmin \u2013 SQL Databases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/#website\",\"url\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/\",\"name\":\"Packetra Knowledgebase\",\"description\":\"Hosting Guides, VPS Help &amp; Support\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/packetra.com\\\/knowledgebase\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DirectAdmin Databases \u2013 How to add SQL Databases | Packetra","description":"Learn how to setup sql database in you DirectAdmin hosting panel through your Packetra hosting account. Add SQL databases in few clicks.","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:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/","og_locale":"en_US","og_type":"article","og_title":"DirectAdmin Databases \u2013 How to add SQL Databases | Packetra","og_description":"Learn how to setup sql database in you DirectAdmin hosting panel through your Packetra hosting account. Add SQL databases in few clicks.","og_url":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/","og_site_name":"Packetra Knowledgebase","article_modified_time":"2026-07-02T07:37:40+00:00","og_image":[{"width":1410,"height":584,"url":"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/","url":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/","name":"DirectAdmin Databases \u2013 How to add SQL Databases | Packetra","isPartOf":{"@id":"https:\/\/packetra.com\/knowledgebase\/#website"},"primaryImageOfPage":{"@id":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/#primaryimage"},"image":{"@id":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/#primaryimage"},"thumbnailUrl":"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1.png","datePublished":"2026-07-02T07:37:39+00:00","dateModified":"2026-07-02T07:37:40+00:00","description":"Learn how to setup sql database in you DirectAdmin hosting panel through your Packetra hosting account. Add SQL databases in few clicks.","breadcrumb":{"@id":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/#primaryimage","url":"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1.png","contentUrl":"https:\/\/packetra.com\/knowledgebase\/wp-content\/uploads\/2026\/07\/da_art7_screen1.png","width":1410,"height":584},{"@type":"BreadcrumbList","@id":"https:\/\/packetra.com\/knowledgebase\/kb\/how-to-directadmin-sql-databases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/packetra.com\/knowledgebase\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/packetra.com\/knowledgebase\/kb\/"},{"@type":"ListItem","position":3,"name":"How to DirectAdmin \u2013 SQL Databases"}]},{"@type":"WebSite","@id":"https:\/\/packetra.com\/knowledgebase\/#website","url":"https:\/\/packetra.com\/knowledgebase\/","name":"Packetra Knowledgebase","description":"Hosting Guides, VPS Help &amp; Support","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/packetra.com\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=438"}],"version-history":[{"count":2,"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/438\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/438\/revisions\/445"}],"wp:attachment":[{"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=438"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/packetra.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}