Difference between revisions of "Show grants"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[SELECT User]] FROM mysql.user;</code>
 
* <code>[[SELECT User]] FROM mysql.user;</code>
 
+
* [[CREATE DATABASE]]
  
 
== See also ==
 
== See also ==

Revision as of 19:36, 28 July 2021


 show grants;
+------------------------------------------------------------------------------------------------+
| Grants for root@localhost                                                                      |
+------------------------------------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` IDENTIFIED VIA unix_socket WITH GRANT OPTION |
| GRANT PROXY ON @'%' TO 'root'@'localhost' WITH GRANT OPTION                                  |
+------------------------------------------------------------------------------------------------+
2 rows in set (0.000 sec)

Related terms

See also

Advertising: