{"id":33701,"date":"2016-09-18T16:12:01","date_gmt":"2016-09-18T16:12:01","guid":{"rendered":"https:\/\/wickedrobot.dev\/support\/?p=43"},"modified":"2025-10-08T06:14:05","modified_gmt":"2025-10-08T06:14:05","slug":"how-to-add-a-user-to-a-database-and-grant-privileges","status":"publish","type":"epkb_post_type_1","link":"https:\/\/wickedrobot.dev\/knowledge-base\/how-to-add-a-user-to-a-database-and-grant-privileges","title":{"rendered":"How to Add a User to a Database and Grant Privileges"},"content":{"rendered":"<p><span style=\"font-size: medium;\"><strong>1.<\/strong> Log in to your cPanel account.<\/span><\/p>\n<p><span style=\"font-size: medium;\"><strong>2.<\/strong> In the <strong>Databases<\/strong> section, click on <strong>MySQL Databases<\/strong>.<br \/>\n<img decoding=\"async\" src=\"\/img\/mysql-databases-icon.gif\" alt=\"\" align=\"middle\" \/><\/span><\/p>\n<p><span style=\"font-size: medium;\"><strong>3.<\/strong> Scroll down to the end of the page and under <strong>Add User to Database<\/strong>. Select a user from the drop-down list, and choose a Database from the list.<\/span><\/p>\n<p><span style=\"font-size: medium;\"><strong>4.<\/strong> Click on <strong>Add<\/strong>.<\/span><br \/>\n<span style=\"font-size: medium;\"><img decoding=\"async\" src=\"\/img\/add-db.gif\" alt=\"\" \/><\/span><\/p>\n<p><span style=\"font-size: medium;\"><strong>5.<\/strong> On <strong>Manage User Privileges<\/strong>. Mark the box <strong>ALL PRIVILEGES<\/strong> and click on <strong>Make Changes<\/strong>.<\/span><br \/>\n<span style=\"font-size: medium;\"><img decoding=\"async\" src=\"\/img\/add-privileges.gif\" alt=\"\" \/><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Log in to your cPanel account. 2. In the Databases section, click on MySQL Databases. 3. Scroll down to the end of the page and under Add User to Database. Select a user from the drop-down list, and choose a Database from the list. 4. Click on Add. 5. On Manage User Privileges. Mark &#8230; <a title=\"How to Add a User to a Database and Grant Privileges\" class=\"read-more\" href=\"https:\/\/wickedrobot.dev\/knowledge-base\/how-to-add-a-user-to-a-database-and-grant-privileges\" aria-label=\"Read more about How to Add a User to a Database and Grant Privileges\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[88],"epkb_post_type_1_tag":[],"class_list":["post-33701","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-databases"],"_links":{"self":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1\/33701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/comments?post=33701"}],"version-history":[{"count":0,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1\/33701\/revisions"}],"wp:attachment":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/media?parent=33701"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1_category?post=33701"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1_tag?post=33701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}