mysql5.7創(chuàng)建用戶授權(quán)刪除用戶撤銷授權(quán)

字號:


    
    權(quán)限信息用user、db、host、tables_priv和columns_priv表被存儲在MySQL數(shù)據(jù)庫中(即在名為mysql的數(shù)據(jù)庫中)。
    權(quán)限 列 Context
    select Select_priv 表
    insert Insert_priv 表
    update Update_priv 表
    delete Delete_priv 表
    index Index_priv 表
    alter Alter_priv 表
    create Create_priv 數(shù)據(jù)庫、表或索引
    drop Drop_priv 數(shù)據(jù)庫或表
    grant Grant_priv 數(shù)據(jù)庫或表
    references References_priv 數(shù)據(jù)庫或表
    reload Reload_priv 服務(wù)器管理
    shutdown Shutdown_priv 服務(wù)器管理
    process Process_priv 服務(wù)器管理
    file File_priv 在服務(wù)器上的文件存取
    三.設(shè)置與更改用戶密碼
    命令: