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
1. The role of index In general application syste...
The common way to deploy a springboot project to ...
introduction When I was learning more about datab...
MySQL multi-table query (Cartesian product princi...
First, let's simulate the data coming from th...
SMIL adds support for timing and media synchroniz...
Docker Toolbox is a solution for installing Docke...
Preface Although some love in this world has a pr...
Table of contents 1. Introduction 2. Main text 2....
A record of an online MySQL transaction problem L...
1. Import echart in HTML file <!-- Import echa...
Macrotasks and Microtasks JavaScript is a single-...
Step 1: Configure environment variables (my decom...
introduction Today I learned how to connect to th...
After entering the Docker container, if you exit ...