{"id":10062,"date":"2021-03-15T06:50:57","date_gmt":"2021-03-15T06:50:57","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=10062"},"modified":"2024-08-08T08:11:44","modified_gmt":"2024-08-08T07:11:44","slug":"user-privileges-mysql-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/","title":{"rendered":"How to Grant all Privileges to a User in MySQL with cPanel?"},"content":{"rendered":"<p>The MySQL privilege system authenticates a user to make specific changes in a database. Based on the privileges granted, a user can carry functions like SELECT, INSERT, UPDATE, DELETE etc. on the database. You can access this system in cPanel.<\/p>\n<h2>To Grant all Privileges in MySQL with cPanel:<\/h2>\n<p>1. Log in to your <strong>cPanel<\/strong> account.<\/p>\n<p>2. Go to the <strong>DATABASES<\/strong> section and click on<strong> MySQL\u00ae Databases<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10896\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png\" alt=\"\" width=\"965\" height=\"186\" \/><\/p>\n<p>3. Scroll down to the <strong>Add User To Database<\/strong> in the <strong>MySQL Users<\/strong> section. Select the user you want to assign privileges and also the database of your choice. Now, click the <strong>Add<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10897\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/add_user.png\" alt=\"\" width=\"678\" height=\"254\" \/><\/p>\n<p>4. The system redirects you to <strong>Manage User Privileges<\/strong>, where you can select the privileges you want the user to have.<\/p>\n<p>5. Since we want the user to have all privileges, tick the <strong>ALL PRIVILEGES<\/strong> box and click the <strong>Make Changes<\/strong> button. A success message will flash indicating the system has saved the selected privileges for the user. Click on <strong>Go Back <\/strong>at the bottom of the list.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10898\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/privileges.png\" alt=\"\" width=\"767\" height=\"880\" \/><\/p>\n<p>You will come back to the <strong>MySQL\u00ae Databases<\/strong>. Here, you can spot the user you just granted privileges under the <strong>Privileged Users<\/strong> column of the<strong> Current Databases<\/strong> table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10899\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/table_update.png\" alt=\"\" width=\"1288\" height=\"190\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The MySQL privilege system authenticates a user to make specific changes in a database. Based on the privileges granted, a user can carry functions like SELECT, INSERT, UPDATE, DELETE etc. on the database. You can access this system in cPanel. To Grant all Privileges in MySQL with cPanel: 1. Log in to your cPanel account. [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,230,41,947],"tags":[152,1489,1986,1987,205,471,983,1486,872],"class_list":["post-10062","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-cpanel-faq","category-database","category-howtos","category-mysql","tag-cpanel","tag-grant-privileges-to-mysql-user","tag-grant-privileges-to-mysql-user-in-cpanel","tag-how-to-grant-all-privileges-to-a-user-in-mysql-with-cpanel","tag-mysql","tag-mysql-database","tag-mysql-databases","tag-mysql-user-privileges","tag-working-with-mysql-databases"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Grant all Privileges to a User in MySQL with cPanel?<\/title>\n<meta name=\"description\" content=\"You can grant privileges to a user to edit MySQL databases. This article explains how to grant all privileges to a user in MySQL with cPanel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Grant all Privileges to a User in MySQL with cPanel?\" \/>\n<meta property=\"og:description\" content=\"You can grant privileges to a user to edit MySQL databases. This article explains how to grant all privileges to a user in MySQL with cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-15T06:50:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-08T07:11:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/\",\"name\":\"How to Grant all Privileges to a User in MySQL with cPanel?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png\",\"datePublished\":\"2021-03-15T06:50:57+00:00\",\"dateModified\":\"2024-08-08T07:11:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"You can grant privileges to a user to edit MySQL databases. This article explains how to grant all privileges to a user in MySQL with cPanel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png\",\"width\":965,\"height\":186},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Grant all Privileges to a User in MySQL with cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Grant all Privileges to a User in MySQL with cPanel?","description":"You can grant privileges to a user to edit MySQL databases. This article explains how to grant all privileges to a user in MySQL with cPanel.","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:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/","og_locale":"en_GB","og_type":"article","og_title":"How to Grant all Privileges to a User in MySQL with cPanel?","og_description":"You can grant privileges to a user to edit MySQL databases. This article explains how to grant all privileges to a user in MySQL with cPanel.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-03-15T06:50:57+00:00","article_modified_time":"2024-08-08T07:11:44+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png","type":"","width":"","height":""}],"author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/","name":"How to Grant all Privileges to a User in MySQL with cPanel?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png","datePublished":"2021-03-15T06:50:57+00:00","dateModified":"2024-08-08T07:11:44+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"You can grant privileges to a user to edit MySQL databases. This article explains how to grant all privileges to a user in MySQL with cPanel.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/mysqldb.png","width":965,"height":186},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/user-privileges-mysql-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Grant all Privileges to a User in MySQL with cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"views":589,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=10062"}],"version-history":[{"count":4,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10062\/revisions"}],"predecessor-version":[{"id":15853,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/10062\/revisions\/15853"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=10062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=10062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=10062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}