{"id":288,"date":"2024-03-21T12:33:27","date_gmt":"2024-03-21T12:33:27","guid":{"rendered":"https:\/\/fatreseller.in\/blog\/?p=288"},"modified":"2024-03-21T12:34:46","modified_gmt":"2024-03-21T12:34:46","slug":"creating-databases-and-users-in-directadmin","status":"publish","type":"post","link":"https:\/\/fatreseller.in\/blog\/creating-databases-and-users-in-directadmin\/","title":{"rendered":"A Comprehensive Guide to Creating Databases and Users in DirectAdmin"},"content":{"rendered":"\n<p>DirectAdmin is a powerful web hosting control panel that simplifies server and website management. In this guide, we will focus specifically on Creating Databases and Users in DirectAdmin through DirectAdmin<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#creating-databases-and-users-in-direct-admin\">Creating Databases and Users in DirectAdmin:<\/a><ul><li><a href=\"#step-1-log-into-direct-admin\">Step 1: Log into DirectAdmin<\/a><\/li><li><a href=\"#step-2-navigate-to-my-sql-management\">Step 2: Navigate to MySQL Management<\/a><\/li><li><a href=\"#step-3-create-a-new-database\">Step 3: Create a New Database<\/a><\/li><li><a href=\"#step-4-assign-user-permissions\">Step 4: Assign User Permissions<\/a><\/li><\/ul><\/li><li><a href=\"#database-access-via-php-my-admin\">Database Access via phpMyAdmin:<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-databases-and-users-in-direct-admin\">Creating Databases and Users in DirectAdmin:<\/h2>\n\n\n\n<p>Creating Databases and Database Users in DirectAdmin is a straightforward process that can be accomplished in a few simple steps. This tutorial will guide you through the entire process, ensuring that even beginners can confidently create and manage their databases. Let\u2019s dive in.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-log-into-direct-admin\">Step 1: Log into DirectAdmin<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access DirectAdmin:<\/strong> Open your web browser and navigate to your DirectAdmin login URL. This URL is typically provided by your <a href=\"https:\/\/fatreseller.in\/reseller-hosting.html\">hosting <\/a>provider and usually looks something like <code>http:\/\/yourdomain.com:2087<\/code>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"470\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/01\/Directadmin-1-1024x470.png\" alt=\"Creating Databases and Database Users in DirectAdmin\" class=\"wp-image-137\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/01\/Directadmin-1-1024x470.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/01\/Directadmin-1-300x138.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/01\/Directadmin-1-768x353.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/01\/Directadmin-1.png 1535w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enter Credentials:<\/strong> Input your DirectAdmin username and password provided by your hosting service. Click the \u2018Login\u2019 button to access the DirectAdmin dashboard.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-navigate-to-my-sql-management\">Step 2: Navigate to MySQL Management<\/h3>\n\n\n\n<p>Once logged in, you&#8217;ll find yourself on the main dashboard of DirectAdmin. <\/p>\n\n\n\n<p><strong>Find the MySQL Databases Icon:<\/strong> for Creating Databases and Database Users in DirectAdmin, Look for an icon labeled \u2018Databases\u2019. The exact naming might vary slightly depending on your DirectAdmin theme. Click on the icon to open the MySQL database management page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"364\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/DB-in-directadmin-1-1024x364.png\" alt=\"\" class=\"wp-image-291\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/DB-in-directadmin-1-1024x364.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/DB-in-directadmin-1-300x107.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/DB-in-directadmin-1-768x273.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/DB-in-directadmin-1.png 1318w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-create-a-new-database\">Step 3: Create a New Database<\/h3>\n\n\n\n<p>On the MySQL management page, you&#8217;ll see an option to create a new database:<\/p>\n\n\n\n<p><strong>Database Name:<\/strong> Enter a name for your database. Keep it relevant to the purpose of the database for easy identification.<\/p>\n\n\n\n<p><strong>Find the \u2018Create\u2019 Option:<\/strong> link allowing you to initiate the Creating Databases and Users in DirectAdmin. Click on it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"141\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/create-1024x141.png\" alt=\"\" class=\"wp-image-294\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/create-1024x141.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/create-300x41.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/create-768x106.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/create-1536x211.png 1536w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/create.png 1885w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"191\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/created-1024x191.png\" alt=\"\" class=\"wp-image-293\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/created-1024x191.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/created-300x56.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/created-768x143.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/created.png 1468w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Database Username:<\/strong> Create a username that will have access to this database. In some instances, DirectAdmin might auto-generate this for you.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"158\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/user-1024x158.png\" alt=\"\" class=\"wp-image-295\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/user-1024x158.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/user-300x46.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/user-768x119.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/user-1536x238.png 1536w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/user.png 1875w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Password:<\/strong> Choose a strong, secure password for the database user. DirectAdmin may also provide a password generator to ensure high security.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-4-assign-user-permissions\">Step 4: Assign User Permissions<\/h3>\n\n\n\n<p>After Creating Databases and Users in DirectAdmin, you might need to assign or confirm the permissions that the user has over the database. Typically, during creation, the user is automatically granted all necessary permissions, but it\u2019s good to review:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"245\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/prvl-1024x245.png\" alt=\"\" class=\"wp-image-296\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/prvl-1024x245.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/prvl-300x72.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/prvl-768x183.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/prvl-1536x367.png 1536w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/prvl.png 1880w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Review Permissions:<\/strong> Ensure the user has adequate permissions to perform actions such as SELECT, INSERT, UPDATE, DELETE, etc., which are essential for managing the database content.<\/p>\n\n\n\n<p><strong>Adjust if Necessary:<\/strong> If you need to adjust permissions, you can usually do so from the database management page by selecting the user and modifying their permissions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"database-access-via-php-my-admin\"><strong>Database Access via phpMyAdmin:<\/strong><\/h2>\n\n\n\n<p>With the database and user now set up, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access phpMyAdmin:<\/strong> Use phpMyAdmin from within DirectAdmin to manage your database. You can perform operations like creating tables, inserting data, and running queries.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"99\" src=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/phpmyadmin-1024x99.png\" alt=\"\" class=\"wp-image-297\" srcset=\"https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/phpmyadmin-1024x99.png 1024w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/phpmyadmin-300x29.png 300w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/phpmyadmin-768x74.png 768w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/phpmyadmin-1536x149.png 1536w, https:\/\/fatreseller.in\/blog\/wp-content\/uploads\/2024\/03\/phpmyadmin.png 1881w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Connect to Your Application:<\/strong> Use the database details (database name, username, and password) to connect your database to your website or application. Most CMSs like WordPress will ask for this information during installation.<\/li>\n<\/ul>\n\n\n\n<p>Creating Databases and Users in DirectAdmin is a straight forward process. Once logged into the DirectAdmin control panel, users typically navigate to the MySQL Management section where they can initiate the creation process. For databases, users are prompted to provide a name for the new database, which serves as its identifier. Once submitted, Creating Databases and Users in DirectAdmin promptly creates the database, confirming its creation. <\/p>\n\n\n\n<p>Similarly, creating database users involves entering essential details such as username and password, along with specifying the user&#8217;s privileges, determining their actions within the database. Users can then associate these newly created users with specific databases. Following completion, users may need to update their website or application configurations to integrate the newly created databases and users seamlessly. Overall, DirectAdmin&#8217;s intuitive interface streamlines the process, enabling users to efficiently manage their database-related tasks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DirectAdmin is a powerful web hosting control panel that simplifies server and website management. In this guide, we will focus specifically on Creating Databases and Users in DirectAdmin through DirectAdmin Creating Databases and Users in DirectAdmin: Creating Databases and Database Users in DirectAdmin is a straightforward process that can be accomplished in a few simple [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":335,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[30],"class_list":["post-288","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-directadmin","tag-creating-databases-and-users-in-directadmin"],"_links":{"self":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts\/288"}],"collection":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":9,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":334,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions\/334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/media\/335"}],"wp:attachment":[{"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatreseller.in\/blog\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}