mysql, user table meaning of each field

 

1. query the user table

1 select * from mysql.user

2.user table meaning of each field

. 1  Select_priv: the user can select the data through a SELECT command.  
2  Insert_priv: INSERT command by the user can insert data;  
 . 3  Update_priv: The user can modify an existing data UPDATE command;  
 . 4  Delete_priv: User can delete data by the DELETE command;  
 . 5  Create_priv: Users can create new databases and tables;  
 6  Drop_priv: users can delete existing databases and tables;  
 7  Reload_priv: users can execute a specific command to refresh and reload various internal caches used by MySQL, including logs, permissions, host, queries and tables; reload the privilege tables;  
 8  Shutdown_priv: users can turn off the MySQL server; providing to the outside of the root account of any user in this authority should be very cautious;  
 9  Process_priv: users can view other users' processes by SHOW PROCESSLIST command; server management;  
 10  File_priv: users can perform SELECT INTO OUTFILE and lOAD DATA INFILE command; loading files on the server;  
 11  Grant_priv: users can already granted to the user's own privileges and then grant other users (any user has been given all authority);  
 12 References_priv; currently just a placeholder for some future functionality; now no effect;  
 13  Index_priv: Users can create and delete table indexes; with an index lookup table;  
 14  Alter_priv: You can rename and modify table structure;  
 15  Show_db_priv: Users can View the names of all databases on the server, including user with sufficient access to the database; may consider disabling this permission for all users, unless there are special reasons for an irresistible;  
 16  Super_priv: users can perform certain powerful management capabilities, for example by KILL command to delete user processes, using the SET gLOBAL modify global MySQL variables, perform various commands for copying and logs; super powers;  
 17  Create_tmp_table_priv: users can create a temporary table;  
 18 Lock_tables_priv: users can use the LOCK tABLES command to prevent access to the table / modification;  
 19 Execute_priv: users can execute stored procedures; this right only in MySQL 5 meaningful 0.01 and later;  
 20  Repl_slave_priv: users can read binary log file maintains replicated database environment; the user is located in the main system in favor of the main And the communication between the client machine; master server manages;  
 21 is  Repl_client_priv: The user can determine the position of the copy from the master server and the server; from the management server;  
 22Create_view_priv: Users can create a view; this right only in MySQL 5 meaningful 0.01 and later;  
 23 Show_view_priv: Users can view how the view or understanding view of the execution; this right only in MySQL 5 has a 0.01 and later meaning;  
 24- Create_routine_priv: users can change or abandon stored procedures and functions; this permission is in MySQL 5 .0 introduced;  
 25 Alter_routine_priv: users can modify or delete the stored function and function; this right is in MySQL 5 introduced in .0 of;  
 26  Create_user_priv: users can execute cREATE uSER command, which is used to create a new MySQL accounts;  
 27 Event_priv: users can create, modify and delete events; this permission is MySQL 5.1 .6 new;  
 28 Trigger_priv: user can I create and delete triggers, this permission is MySQL 5.1 .6 new;  
 29  Create_tablespace_priv: create a table space  
 30  ssl_type: support ssl encryption security standard fields  
 31 ssl_cipher: ssl support standard encryption security field  
 32  x509_issuer: x509 supports standard field  
 33 is  x509_subject: x509 supports standard field  
 34 is max_questions: 0 allows performing many queries per hour  
 35 max_updates: 0 hour update may be performed many times: 0 for unlimited  
 36 max_connections: 0 hour how many connections may be established: 0 indicates unlimited  
 37 [ the max_user_connections: 0 number of connections may have a single user simultaneously: 0 indicates unlimited  
 38 is plugin: 5.5 .7 start, mysql introduced plugins to user's connection password authentication, plugin create an external / proxy user   
 39  authentication_string: mapping relationship between the two can be controlled by authentication_string, (PAM plugin, etc., PAM can support multiple service names), especially when using a proxy user, and to declare that  
 40 password_expired : password expiration Y, indicating that the user password has expired opposite N  

Reference: https://blog.csdn.net/qq_34268861/article/details/96433425

Guess you like

Origin www.cnblogs.com/xinyangq/p/12305894.html