MySQL permission table Introduction

Source: Internet
Author: User
Tags mysql index

The MySQL permission table introduced below is used to control user access to the database. If you are interested in the MySQL permission table, you may wish to take a look and I believe you will not be concerned about it.

The MySQL server uses the MySQL permission table to control user access to the database. The MySQL permission table is stored in the mysql database and initialized by the mysql_install_db script. These MySQL permission tables are user, db, table_priv, columns_priv, and host respectively. The following describes the structure and content of these tables:

User permission table: records the information of user accounts allowed to connect to the server. The permissions in the table are global.

Database permission table: records the operation permissions of each account on each database.

Table_priv permission table: records data table-level operation permissions.

Columns_priv permission table: records the operation permissions at the data column level.

Host permission table: the database permission table provides more detailed control over database-level operation permissions on a given host. This permission table is not affected by the GRANT and REVOKE statements.
 

Instances that grant MySQL user permissions

How to optimize mysql Indexes

How to view MySQL Indexes

Use of MySQL EXPLAIN statements

Take you to understand the mysql index type

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.