MySQL is a multi-user managed database that can assign different permissions to different users, which are divided into root users and ordinary users. The root user is the super administrator and has all permissions, while ordinary users have specified permissions. MySQL controls user access to the database through permission tables, which are stored in the MySQL database. The main permission tables are as follows: user,db,host,table_priv,columns_priv and procs_priv. Let's first learn about the user table. User column (information that users need to enter to connect to the MySQL database) Host: Host name, one of the dual primary keys. When the value is %, it means matching all hosts. User: User name, one of the dual primary keys. Password: Password name.
Permission column The permission column determines the user's permissions and describes the operations that the user is allowed to perform on the database and database tables globally. The field type is Enum and the value can only be Y or N. Y means permission and N means no permission.
The above is all the knowledge points about the detailed explanation of the mysql.user user table in Mysql. Thank you for your support to 123WORDPRESS.COM. You may also be interested in:
|
<<: How to implement the Vue mouse wheel scrolling switching routing effect
>>: Detailed installation instructions for the cloud server pagoda panel
Dependence on knowledge Go cross-compilation basi...
Table of contents Preface The value of front-end ...
Table of contents 1. What is the execution contex...
The two parameters innodb_flush_log_at_trx_commit...
Translucent border Result: Implementation code: &...
Preface In the past, I always switched Python ver...
This article shares the specific code for JavaScr...
A web server can build multiple web sites with in...
Preface Last week, a colleague asked me: "Br...
Table of contents Introduction to Anaconda 1. Dow...
This article example shares the specific code of ...
The methods of installing nginx and multiple tomc...
1. HTML tags with attributes XML/HTML CodeCopy co...
Unique “About”-Pages A great way to distinguish yo...
Docker Compose Docker Compose is a tool for defin...