{"id":2870,"date":"2021-10-11T09:04:32","date_gmt":"2021-10-11T09:04:32","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2870"},"modified":"2021-10-11T09:22:59","modified_gmt":"2021-10-11T09:22:59","slug":"how-to-grant-all-privileges-to-a-user-in-mysql-with-cpanel","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-grant-all-privileges-to-a-user-in-mysql-with-cpanel\/","title":{"rendered":"How to Grant all Privileges to a User in MySQL with cPanel?"},"content":{"rendered":"<p>In a database The MySQL privilege system authenticates a user to make specific changes. Supported the privileges granted, a user will carry functions like SELECT, INSERT, UPDATE, DELETE etc. on the database. you&#8217;ll be able to access this method in cPanel.<\/p>\n<h3>To Grant all Privileges in MySQL with cPanel follow the steps as below:<\/h3>\n<p><strong>Step 1.<\/strong> Log in to your <strong>cPanel<\/strong> account using login details.<\/p>\n<p><strong>Step 2.<\/strong> Navigate to the <strong>DATABASES<\/strong> section and click on <strong>MySQL\u00ae Databases<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2871\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-1-300x58.png\" alt=\"dbmysql-1\" width=\"965\" height=\"186\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-1-300x58.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-1-768x148.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-1.png 965w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/p>\n<p><strong>Step 3.<\/strong> Scroll right down to the <strong>Add User<\/strong> To Database within the <strong>MySQL Users<\/strong> section. choose the user you wish to assign privileges and along with the database of your choice. Now, click the <strong>Add<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2876\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-2-1-300x112.png\" alt=\"dbmysql-2\" width=\"678\" height=\"254\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-2-1-300x112.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-2-1.png 678w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/p>\n<p><strong>Step 4.<\/strong> The system redirects you to <strong>Manage User Privileges<\/strong>, where you&#8217;ll be able to choose the privileges you wish the user to possess.<\/p>\n<p><strong>Step 5.<\/strong> Since we wish the user to possess all privileges, tick the <strong>ALL PRIVILEGES<\/strong> box and click on the <strong>Make Changes<\/strong> button. Successful message will flash indicating the system has saved the selected privileges for the user. From the bottom of the list Click on <strong>Go Back<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2881\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-3-261x300.png\" alt=\"dbmysql-3\" width=\"767\" height=\"880\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-3-261x300.png 261w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-3.png 767w\" sizes=\"auto, (max-width: 767px) 100vw, 767px\" \/><\/p>\n<p>You will return to the MySQL\u00ae Databases. Here, you&#8217;ll be able to spot the user you simply granted privileges below the Privileged Users column of Current Databases table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2878\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-4-1-300x44.png\" alt=\"dbmysql-4\" width=\"1288\" height=\"190\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-4-1-300x44.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-4-1-1024x151.png 1024w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-4-1-768x113.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/dbmysql-4-1.png 1288w\" sizes=\"auto, (max-width: 1288px) 100vw, 1288px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a database The MySQL privilege system authenticates a user to make specific changes. Supported the privileges granted, a user will carry functions like SELECT, INSERT, UPDATE, DELETE etc. on the database. you&#8217;ll be able to access this method in cPanel. To Grant all Privileges in MySQL with cPanel follow the steps as below: Step [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-2870","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2870"}],"version-history":[{"count":4,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2870\/revisions"}],"predecessor-version":[{"id":2882,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2870\/revisions\/2882"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}