<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    kooyee ‘s blog

    開源軟件, 眾人努力的結晶, 全人類的共同財富
    posts - 103, comments - 55, trackbacks - 0, articles - 66
       :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

    [MySQL] Remove privileges from account

    Posted on 2007-11-10 22:04 kooyee 閱讀(426) 評論(0)  編輯  收藏

    12.5.1.5. REVOKE Syntax

    REVOKE priv_type [(column_list)] [, priv_type [(column_list)]] ...
    ON [object_type] {tbl_name | * | *.* | db_name.*}
    FROM user [, user] ...
    REVOKE ALL PRIVILEGES, GRANT OPTION FROM user [, user] ...
    

    The REVOKE statement enables system administrators to revoke privileges from MySQL accounts. To use REVOKE, you must have the GRANT OPTION privilege, and you must have the privileges that you are revoking.

    Each account is named using the same format as for the GRANT statement; for example, 'jeffrey'@'localhost'. If you specify only the username part of the account name, a hostname part of '%' is used. For additional information about specifying account names, see Section 12.5.1.3, “GRANT Syntax”.

    For details on the levels at which privileges exist, the allowable priv_type values, and the syntax for specifying users and passwords, see Section 12.5.1.3, “GRANT Syntax”

    If the grant tables hold privilege rows that contain mixed-case database or table names and the lower_case_table_names system variable is set to a non-zero value, REVOKE cannot be used to revoke these privileges. It will be necessary to manipulate the grant tables directly. (GRANT will not create such rows when lower_case_table_names is set, but such rows might have been created prior to setting the variable.)

    To revoke all privileges, use the following syntax, which drops all global, database-, table-, and column-level privileges for the named user or users:

    REVOKE ALL PRIVILEGES, GRANT OPTION FROM user [, user] ...
    

    To use this REVOKE syntax, you must have the global CREATE USER privilege or the UPDATE privilege for the mysql database.

    REVOKE removes privileges, but does not drop user table entries. You must do that explicitly using DELETE or DROP USER (see Section 12.5.1.2, “DROP USER Syntax”).


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 东方aⅴ免费观看久久av| 国产一级婬片A视频免费观看| 久久久精品2019免费观看 | 亚洲国产成人久久综合一| GOGOGO免费观看国语| 亚洲日产韩国一二三四区| a毛片久久免费观看| 亚洲AV中文无码乱人伦下载| 99国产精品视频免费观看| 亚洲精品国产肉丝袜久久| 在线观看日本免费a∨视频| 亚洲国产成人综合精品| 四虎影视在线永久免费观看| 色婷婷精品免费视频| 伊人亚洲综合青草青草久热| 可以免费观看的毛片| 亚洲欧洲日产国码二区首页| 四虎成人免费网站在线| jizz免费观看视频| 亚洲国产精品免费视频| 2021免费日韩视频网| 国产精品国产亚洲区艳妇糸列短篇 | 国产精品永久免费10000| 亚洲一级毛片在线观| 免费又黄又硬又爽大片| 99re6在线视频精品免费| 亚洲人成高清在线播放| 国产免费观看a大片的网站| 国精产品一区一区三区免费视频| 日产亚洲一区二区三区| 国产真人无遮挡作爱免费视频| 国产99久久久久久免费看| 亚洲精品国产成人| 免费一级特黄特色大片在线 | 久久99国产乱子伦精品免费| 亚洲无码一区二区三区| 亚洲午夜久久久久久久久久| 免费无码又黄又爽又刺激| 国产精品免费久久久久久久久| 亚洲成人在线免费观看| 亚洲日韩国产一区二区三区|