<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”).


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


    網站導航:
     
    主站蜘蛛池模板: 国产精品亚洲片在线| 国产精品美女自在线观看免费| 亚洲成?v人片天堂网无码| 亚洲日韩亚洲另类激情文学| 精品香蕉在线观看免费| 亚洲精品亚洲人成在线观看麻豆| 91麻豆国产免费观看| 亚洲永久永久永久永久永久精品| 久久爰www免费人成| 亚洲精品在线电影| 操美女视频免费网站| 亚洲爆乳AAA无码专区| 国产一级淫片免费播放| 午夜免费国产体验区免费的| 国产亚洲精午夜久久久久久| 免费观看久久精彩视频| 久久亚洲私人国产精品| 猫咪免费人成网站在线观看| 亚洲国产成人精品激情| 日本xxwwxxww在线视频免费| 一区二区在线视频免费观看| 亚洲色欲一区二区三区在线观看| 色欲国产麻豆一精品一AV一免费| 亚洲国产高清在线精品一区| 啦啦啦www免费视频| 一区二区三区免费视频观看| 亚洲Av无码精品色午夜 | 久久久久亚洲精品美女| 久久久久久毛片免费播放| 亚洲国产精品综合久久网各| 夜夜爽免费888视频| 国产精品一区二区三区免费| 亚洲色图古典武侠| 免费亚洲视频在线观看| 国产成人精品无码免费看 | 色www永久免费视频| 国产免费内射又粗又爽密桃视频| 亚洲欧洲日产国码在线观看| 亚洲 另类 无码 在线| 精品无码免费专区毛片| 国产AV无码专区亚洲AV蜜芽|