Mysql advanced permission check principle and mysql permission Principle

Source: Internet
Author: User

Mysql advanced permission check principle and mysql permission Principle

You can perform database operations in two steps:

1. Whether the connection is permitted. The connection is based on host, name, and password;

2. Are you authorized to perform CURD;

Illustration:

Where can I store user permissions?

As shown in the following figure:


There is a user table in the mysql database:



Just like normal CURD, you can log on to the console!

Note that the permissions in the User table are global,



What if I want to control a table? Remember the db table. This is where it is,

I will not elaborate on it:


Related Article

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.