Mysql進階之許可權檢查原理,mysql許可權原理

來源:互聯網
上載者:User

Mysql進階之許可權檢查原理,mysql許可權原理

使用者進行資料庫操作分為兩步:

1 是否有許可權串連,根據host,name,password;

2 是否有許可權進行CURD;

圖示解說:

關於使用者權限在哪裡進行存放?

這樣看:


mysql資料庫裡面有張user表:



就像普通CURD一樣,這就可以登入控制啦!

注意在User表裡面許可權是全域性質的,



如果想針對某個表進行控制怎麼辦?記得db表吧,就是在這,

就不細說了:


相關文章

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.