{"id":790,"date":"2019-01-30T07:08:03","date_gmt":"2019-01-30T07:08:03","guid":{"rendered":"https:\/\/www.copahost.com\/blog\/?p=790"},"modified":"2020-05-31T14:12:32","modified_gmt":"2020-05-31T14:12:32","slug":"mysql-grant-all-privileges-how-to-manage-user-privileges","status":"publish","type":"post","link":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/","title":{"rendered":"MySQL Grant All Privileges: How to manage user privileges"},"content":{"rendered":"<p>The primary function of the MySQL privilege system is to authenticate a user who connects from a given host and to associate that user with privileges on a database such as SELECT, INSERT, UPDATE, DELETE etc. In general, Mysql Grant All Privileges ensures that one user has access to one or more databases and\/or table.<\/p>\n<h3>How to grant all privileges in MySQL via cPanel?<\/h3>\n<p>Log in to your cPanel account and then on Databases section select MySQL Databases.<strong><br \/>\n<\/strong><\/p>\n<p>Also, scroll down and you will see Add User to Database section.\u00a0 Then, select user and database, on which you want to give privileges to the selected user.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-792\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png\" alt=\"\" width=\"614\" height=\"267\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png 614w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52-300x130.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/p>\n<p>Then click on the &#8216;Add&#8217; button.<\/p>\n<p>Now you will be redirected to a new page as shown below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-793\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-11.png\" alt=\"\" width=\"877\" height=\"630\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-11.png 877w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-11-300x216.png 300w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-11-768x552.png 768w\" sizes=\"(max-width: 877px) 100vw, 877px\" \/><\/p>\n<p>Here you can select sufficient privileges that you want to give that user.<\/p>\n<p>I give all privileges to the user here.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-794\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-30.png\" alt=\"\" width=\"851\" height=\"606\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-30.png 851w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-30-300x214.png 300w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-30-768x547.png 768w\" sizes=\"(max-width: 851px) 100vw, 851px\" \/><\/p>\n<p>Then click on the &#8216;Make Changes&#8217; button at the bottom of the page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-795\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-48.png\" alt=\"\" width=\"1276\" height=\"522\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-48.png 1276w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-48-300x123.png 300w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-48-768x314.png 768w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-02-48-1024x419.png 1024w\" sizes=\"(max-width: 1276px) 100vw, 1276px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>As shown in the above image, you will get a message: Success: You saved &#8220;user_name&#8221;&#8216;s privileges on the database &#8220;database_name&#8221;.<\/p>\n<h3>How to grant all privileges in mysql via command line?<\/h3>\n<p>First of all, it is very easy to give privileges on a database to a user via command line.<\/p>\n<p><a href=\"https:\/\/www.copahost.com\/blog\/login-registration-php-mysql-bootstrap\/\" >Login to MySQL<\/a> using the following command:<\/p>\n<pre class=\"\"><a href=\"https:\/\/www.copahost.com\/blog\/list-mysql-users\/\" >mysql -u user<\/a> -p<\/pre>\n<p>Then, use appropriate username in place of &#8216;user&#8217;.<\/p>\n<p>Enter the password for the user when prompted.<\/p>\n<p>Use the following query to give All privileges on a database to a specific user.<\/p>\n<pre class=\"\">GRANT ALL PRIVILEGES ON db_name.* TO 'user_name'@'localhost';<\/pre>\n<p>Next, replace &#8216;db_name&#8217; and &#8216;user_name&#8217; with appropriate values.<\/p>\n<p>I will show an example below:<\/p>\n<pre class=\"\">mysql&gt; GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';\r\nQuery OK, 0 rows affected (0.00 sec)<\/pre>\n<p>The above command is to give all privileges on the database &#8216;test&#8217; to the user &#8216;test&#8217;.<\/p>\n<p>We can see granted privileges using the below query:<\/p>\n<pre class=\"\">SHOW GRANTS FOR 'user_name'@'localhost';<\/pre>\n<p>Replace &#8216;user_name&#8217; with your value.<\/p>\n<p>The grants of the user &#8216;test&#8217; are shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-796\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-20-01-221.png\" alt=\"\" width=\"550\" height=\"151\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-20-01-221.png 550w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-20-01-221-300x82.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>\n<h3>How to grant specific privileges via command line?<\/h3>\n<p>This is the general syntax of the query. It actually provides specific privileges on a database to a user:<\/p>\n<pre class=\"\">GRANT specific_permission ON db_name.* TO \u2018user_name\u2019@'localhost\u2019;<\/pre>\n<p>Using the above command you give that user specific privileges to <strong>all tables<\/strong> of that specific database. To give specific permission on <strong>only a table<\/strong> of the database you can use the following example.<\/p>\n<pre class=\"\">GRANT specific_permission ON db_name.tbl_name TO \u2018user_name\u2019@'localhost\u2019;<\/pre>\n<p>Replace &#8216;specific_permission&#8217; with the type of privilege you want to give. And, &#8216;db_name&#8217; with your database name and &#8216;user_name&#8217; with your MySQL username.<\/p>\n<p>Some\u00a0common privileges are below. These can be in place of &#8216;specific_permission&#8217; in the above commands&#8217;:<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>CREATE \u2013 allows the user to create databases and tables<\/li>\n<li>DROP &#8211; allows the user to drop databases and tables<\/li>\n<li>DELETE &#8211; allows the user to delete rows from specific MySQL table<\/li>\n<li>INSERT &#8211; allows the user to insert rows into a specific MySQL table<\/li>\n<li>SELECT \u2013 allows the user to read the database<\/li>\n<li>UPDATE &#8211; allows the user to update table rows<\/li>\n<\/ul>\n<h3>&#8220;mysql.users&#8221; TABLE<\/h3>\n<p>The &#8216;mysql.users&#8217; table contains information about users that have permission to <a href=\"https:\/\/www.copahost.com\/blog\/grant-mysql-remote-access\/\" >access the MySQL<\/a> server and their global privileges. The table can be queried and although it is possible to directly update it. For this reason, it is best to use CREATE\u00a0USER and GRANT for adding users and privileges. We suggest this other article about <a href=\"https:\/\/www.copahost.com\/blog\/see-mysql-users-how-to-list-mysql-users-and-manage-access\/\">managing mysql users<\/a>.<\/p>\n<h3>PRIVILEGES in MySQL<\/h3>\n<ul>\n<li><strong>ALL<\/strong>, <strong>ALL PRIVILEGES<\/strong> &#8211; These privilege specifiers are shorthand for <span class=\"quote\">\u201call privileges available at a given privilege level\u201d<\/span> (except GRANT OPTION).<\/li>\n<li><strong>CREATE <\/strong>&#8211; Enables use of statements that create new databases and tables.<\/li>\n<li><strong>INSERT<\/strong> &#8211; Enables rows to be inserted into tables in a database.<\/li>\n<li><strong>ALTER <\/strong>&#8211; Enables use of the ALTER_TABLE statement to change the structure of tables. ALTER_TABLE\u00a0also requires the CREATE and INSERT privileges.<\/li>\n<li><strong>DELETE<\/strong> &#8211; Enables rows to be deleted from tables in a database.<\/li>\n<li><strong>DROP<\/strong> &#8211; Enables use of statements that drop (remove) existing databases, tables, and views.<\/li>\n<li><strong>SELECT<\/strong> -Enables rows to be selected from tables in a database. SELECT statements require the SELECT privilege only if they actually access tables.<\/li>\n<li><strong>SHOW DATABASES<\/strong> &#8211; Enables the account to see database names by issuing the SHOW DATABASE statement. Accounts that do not have this privilege see only databases for which they have some privileges. This way, you cannot use the statement at all if the server was started with the &#8211;skip-show-database option.<\/li>\n<li><strong>UPDATE<\/strong> &#8211; Enables rows to be updated in tables in a database.<\/li>\n<\/ul>\n<h3>GRANT OPTION<\/h3>\n<p>In summary, it enables you to grant to or revoke from other users those privileges that you yourself possess. That means you can give or remove privileges that you have, from other users with GRANT statement. Also, to give a user GRANT OPTION privilege we have to specify WITH GRANT OPTION at the end of the GRANT query.<\/p>\n<p>The syntax is:<\/p>\n<pre class=\"\">GRANT ALL ON db_name.* TO 'user_name'@'localhost' WITH GRANT OPTION;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The primary function of the MySQL privilege system is to authenticate a user who connects from a given host and to associate that user with privileges on a database such as SELECT, INSERT, UPDATE, DELETE etc. In general, Mysql Grant All Privileges ensures that one user has access to one or more databases and\/or table. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[91],"tags":[],"class_list":["post-790","post","type-post","status-publish","format-standard","hentry","category-mysql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MySQL Grant All Privileges: How to manage user privileges - Copahost<\/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:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL Grant All Privileges: How to manage user privileges - Copahost\" \/>\n<meta property=\"og:description\" content=\"The primary function of the MySQL privilege system is to authenticate a user who connects from a given host and to associate that user with privileges on a database such as SELECT, INSERT, UPDATE, DELETE etc. In general, Mysql Grant All Privileges ensures that one user has access to one or more databases and\/or table. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/\" \/>\n<meta property=\"og:site_name\" content=\"Copahost\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-30T07:08:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-31T14:12:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png\" \/>\n<meta name=\"author\" content=\"Gustavo Bastos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gustavo Bastos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/\"},\"author\":{\"name\":\"Gustavo Bastos\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/79c41e5bdbfb917d1582160330fa0eca\"},\"headline\":\"MySQL Grant All Privileges: How to manage user privileges\",\"datePublished\":\"2019-01-30T07:08:03+00:00\",\"dateModified\":\"2020-05-31T14:12:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/\"},\"wordCount\":790,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png\",\"articleSection\":[\"MySQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/\",\"name\":\"MySQL Grant All Privileges: How to manage user privileges - Copahost\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png\",\"datePublished\":\"2019-01-30T07:08:03+00:00\",\"dateModified\":\"2020-05-31T14:12:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png\",\"width\":614,\"height\":267},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.copahost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Grant All Privileges: How to manage user privileges\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"name\":\"Copahost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.copahost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\",\"name\":\"Copahost\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"width\":223,\"height\":40,\"caption\":\"Copahost\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/79c41e5bdbfb917d1582160330fa0eca\",\"name\":\"Gustavo Bastos\",\"url\":\"https:\/\/www.copahost.com\/blog\/author\/gbastos\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL Grant All Privileges: How to manage user privileges - Copahost","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.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/","og_locale":"en_US","og_type":"article","og_title":"MySQL Grant All Privileges: How to manage user privileges - Copahost","og_description":"The primary function of the MySQL privilege system is to authenticate a user who connects from a given host and to associate that user with privileges on a database such as SELECT, INSERT, UPDATE, DELETE etc. In general, Mysql Grant All Privileges ensures that one user has access to one or more databases and\/or table. [&hellip;]","og_url":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/","og_site_name":"Copahost","article_published_time":"2019-01-30T07:08:03+00:00","article_modified_time":"2020-05-31T14:12:32+00:00","og_image":[{"url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png"}],"author":"Gustavo Bastos","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gustavo Bastos","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#article","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/"},"author":{"name":"Gustavo Bastos","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/79c41e5bdbfb917d1582160330fa0eca"},"headline":"MySQL Grant All Privileges: How to manage user privileges","datePublished":"2019-01-30T07:08:03+00:00","dateModified":"2020-05-31T14:12:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/"},"wordCount":790,"commentCount":0,"publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png","articleSection":["MySQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/","url":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/","name":"MySQL Grant All Privileges: How to manage user privileges - Copahost","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png","datePublished":"2019-01-30T07:08:03+00:00","dateModified":"2020-05-31T14:12:32+00:00","breadcrumb":{"@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#primaryimage","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/01\/Screenshot-from-2019-01-29-17-01-52.png","width":614,"height":267},{"@type":"BreadcrumbList","@id":"https:\/\/www.copahost.com\/blog\/mysql-grant-all-privileges-how-to-manage-user-privileges\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.copahost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"MySQL Grant All Privileges: How to manage user privileges"}]},{"@type":"WebSite","@id":"https:\/\/www.copahost.com\/blog\/#website","url":"https:\/\/www.copahost.com\/blog\/","name":"Copahost","description":"","publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.copahost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.copahost.com\/blog\/#organization","name":"Copahost","url":"https:\/\/www.copahost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","width":223,"height":40,"caption":"Copahost"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/79c41e5bdbfb917d1582160330fa0eca","name":"Gustavo Bastos","url":"https:\/\/www.copahost.com\/blog\/author\/gbastos\/"}]}},"_links":{"self":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/comments?post=790"}],"version-history":[{"count":7,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/790\/revisions"}],"predecessor-version":[{"id":2489,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/790\/revisions\/2489"}],"wp:attachment":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media?parent=790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/categories?post=790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/tags?post=790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}