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
CSS Sprite, also known as CSS Sprite, is an image...
Table of contents Preface Mixin Mixin Note (dupli...
Because the distribution package of MySQL Communi...
Use ES6 modular development and observer mode to ...
Test project: react-demo Clone your react-demo pr...
This article shares the specific code of JavaScri...
Deleting a single table: DELETE FROM tableName WH...
Practice is the only way to test the truth. This ...
1. Download MySQL database and install and config...
1.1 Download the binary installation package wget...
First, install openssh-server in docker. After th...
0x00 Introduction A few months ago, I found a vul...
Basic Use <!DOCTYPE html> <html lang=&qu...
Currently, most CPUs support floating-point units...
This also caused the inability to upload png files...