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
When the img src value is empty, two requests are ...
1. Introduction By enabling the slow query log, M...
I summarized the previous notes on installing MyS...
The official source code of monaco-editor-vue is ...
Preface: rm under Linux system is irreversible. T...
Table of contents 1. What is Proxy? 2. How to use...
This article example shares the specific code of ...
Preface The essence of deadlock is resource compe...
The SQL JOIN clause is used to join rows from two...
This article records the installation and configu...
Table of contents 1. Cause 2. Equipment Informati...
Since 2019, both Android and IOS platforms have s...
Table of contents cause reason Introduction to NP...
Table of contents 1. Pull the mysql image 2. Chec...
Table of contents Preface Rendering Example Code ...