{"id":2589,"date":"2024-08-29T17:52:11","date_gmt":"2024-08-29T17:52:11","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=2589"},"modified":"2024-10-04T04:35:14","modified_gmt":"2024-10-04T04:35:14","slug":"how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/","title":{"rendered":"How to create a database user in cPanel via CLI using the &#8216;uapi&#8217; tool?"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>Introduction:<\/strong><\/h3>\n\n\n\n<p>UAPI (Universal API) provides a robust interface for accessing and modifying cPanel account data and settings. This API enables you to interact with various features of the cPanel interface programmatically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Procedure:<\/h3>\n\n\n\n<p><strong>Step 1:<\/strong><\/p>\n\n\n\n<p>Log in to your server via SSH with root.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>ssh root@server-ip<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Step 2:<\/strong><\/p>\n\n\n\n<p>Use the <code>uapi<\/code> command to create a new database user. Replace <code>cpanel-username<\/code>, <code>new_user<\/code>, and <code>new_password<\/code> with your specific details.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\/usr\/bin\/uapi &#8211;user=cpanel-username Mysql create_user name=new_user password=&#8217;new_password&#8217;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>For example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\/usr\/bin\/uapi &#8211;user=backuptest Mysql create_user name=backuptest_user password=&#8217;backuptest@123&#8242;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"204\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1024x204.png\" alt=\"\" class=\"wp-image-2591\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1024x204.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-300x60.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-768x153.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-150x30.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image.png 1054w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3:<\/strong><\/p>\n\n\n\n<p>If we need to create a need database with uapi, we can use the following <code>uapi<\/code> command<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\/usr\/bin\/uapi &#8211;user=cpanel-username Mysql create_database name=database_name<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>For example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\/usr\/bin\/uapi &#8211;user=backuptest Mysql create_database name=backuptest_db<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"460\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1-1024x460.png\" alt=\"\" class=\"wp-image-2592\" style=\"width:550px;height:auto\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1-1024x460.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1-300x135.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1-768x345.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1-1536x690.png 1536w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1-150x67.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1.png 1918w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 4:<\/strong><\/p>\n\n\n\n<p>Grant Privileges to the User.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\/usr\/bin\/uapi &#8211;user=cpanel-username Mysql set_privileges_on_database user=new_user database=database_name privileges=ALL PRIVILEGES<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>For example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\/usr\/bin\/uapi &#8211;user=backuptest Mysql set_privileges_on_database user=backuptest_user database=backuptest_db privileges=ALL PRIVILEGES<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"570\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-2-1024x570.png\" alt=\"\" class=\"wp-image-2593\" style=\"width:568px;height:auto\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-2-1024x570.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-2-300x167.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-2-768x428.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-2-1536x855.png 1536w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-2-150x84.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-2.png 1580w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion:<\/h3>\n\n\n\n<p>Creating a database user via the command line in cPanel is a powerful method for managing databases efficiently, especially when automating tasks or handling multiple accounts. By following the steps outlined above, you can set up new database users and manage permissions effectively. Remember to take necessary precautions to ensure data security and integrity.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: UAPI (Universal API) provides a robust interface for accessing and modifying cPanel account data and settings. This API enables you to interact with various features of the cPanel interface programmatically. Procedure: Step 1: Log in to your server via SSH with root. ssh root@server-ip Step 2: Use the uapi command to create a new ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-2589","post","type-post","status-publish","format-standard","hentry","category-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to create a database user in cPanel via CLI using the &#039;uapi&#039; tool? - PheonixSolutions Knowledge-Base<\/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:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create a database user in cPanel via CLI using the &#039;uapi&#039; tool? - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction: UAPI (Universal API) provides a robust interface for accessing and modifying cPanel account data and settings. This API enables you to interact with various features of the cPanel interface programmatically. Procedure: Step 1: Log in to your server via SSH with root. ssh root@server-ip Step 2: Use the uapi command to create a new ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-29T17:52:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-04T04:35:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1024x204.png\" \/>\n<meta name=\"author\" content=\"Saikrishna Areddy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Saikrishna Areddy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/\"},\"author\":{\"name\":\"Saikrishna Areddy\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"headline\":\"How to create a database user in cPanel via CLI using the &#8216;uapi&#8217; tool?\",\"datePublished\":\"2024-08-29T17:52:11+00:00\",\"dateModified\":\"2024-10-04T04:35:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/\"},\"wordCount\":246,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image-1024x204.png\",\"articleSection\":[\"WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/\",\"name\":\"How to create a database user in cPanel via CLI using the 'uapi' tool? - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image-1024x204.png\",\"datePublished\":\"2024-08-29T17:52:11+00:00\",\"dateModified\":\"2024-10-04T04:35:14+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image.png\",\"width\":1054,\"height\":210},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/08\\\/29\\\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create a database user in cPanel via CLI using the &#8216;uapi&#8217; tool?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\",\"name\":\"Saikrishna Areddy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"caption\":\"Saikrishna Areddy\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/saikrishna\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create a database user in cPanel via CLI using the 'uapi' tool? - PheonixSolutions Knowledge-Base","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:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/","og_locale":"en_US","og_type":"article","og_title":"How to create a database user in cPanel via CLI using the 'uapi' tool? - PheonixSolutions Knowledge-Base","og_description":"Introduction: UAPI (Universal API) provides a robust interface for accessing and modifying cPanel account data and settings. This API enables you to interact with various features of the cPanel interface programmatically. Procedure: Step 1: Log in to your server via SSH with root. ssh root@server-ip Step 2: Use the uapi command to create a new ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2024-08-29T17:52:11+00:00","article_modified_time":"2024-10-04T04:35:14+00:00","og_image":[{"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1024x204.png","type":"","width":"","height":""}],"author":"Saikrishna Areddy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Saikrishna Areddy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/"},"author":{"name":"Saikrishna Areddy","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"headline":"How to create a database user in cPanel via CLI using the &#8216;uapi&#8217; tool?","datePublished":"2024-08-29T17:52:11+00:00","dateModified":"2024-10-04T04:35:14+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/"},"wordCount":246,"commentCount":0,"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1024x204.png","articleSection":["WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/","name":"How to create a database user in cPanel via CLI using the 'uapi' tool? - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image-1024x204.png","datePublished":"2024-08-29T17:52:11+00:00","dateModified":"2024-10-04T04:35:14+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image.png","contentUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2024\/08\/image.png","width":1054,"height":210},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/08\/29\/how-to-create-a-database-user-in-cpanel-via-cli-using-the-uapi-tool\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to create a database user in cPanel via CLI using the &#8216;uapi&#8217; tool?"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba","name":"Saikrishna Areddy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","caption":"Saikrishna Areddy"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/saikrishna\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=2589"}],"version-history":[{"count":4,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2589\/revisions"}],"predecessor-version":[{"id":2604,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2589\/revisions\/2604"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=2589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=2589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=2589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}