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


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


    網站導航:
     
    主站蜘蛛池模板: 亚洲男人av香蕉爽爽爽爽| 国产卡一卡二卡三免费入口| 亚洲国产成人a精品不卡在线| 亚洲私人无码综合久久网| 好男人视频社区精品免费| 亚洲丶国产丶欧美一区二区三区 | 国产亚洲欧洲Aⅴ综合一区 | 好紧我太爽了视频免费国产 | 丝袜熟女国偷自产中文字幕亚洲| 国产99久久亚洲综合精品| 国产成人免费全部网站| 一级毛片免费播放男男| 亚洲日韩精品无码一区二区三区| 国产午夜精品理论片免费观看 | 久久香蕉国产线看免费| 亚洲国产精品久久网午夜 | 亚洲午夜福利精品无码| 热99RE久久精品这里都是精品免费| 国产亚洲无线码一区二区| 99久久免费中文字幕精品| 91亚洲自偷在线观看国产馆| 免费无码又黄又爽又刺激| 亚洲精品无码不卡在线播放| 深夜国产福利99亚洲视频| 国产免费一区二区三区不卡| 亚洲精品成人网站在线播放| 拨牐拨牐x8免费| 一道本在线免费视频| 久久亚洲私人国产精品vA | 中文在线免费看视频| 亚洲网红精品大秀在线观看| 最近中文字幕无吗免费高清 | 亚洲精品视频久久久| 午夜免费啪视频在线观看 | 亚洲级αV无码毛片久久精品| 67194国产精品免费观看| 粉色视频成年免费人15次| 亚洲av中文无码乱人伦在线播放 | 亚洲视频精品在线| 日韩免费福利视频| 久久精品国产这里是免费|