锘??xml version="1.0" encoding="utf-8" standalone="yes"?>无码精品久久久天天影视 ,久久99精品久久久久久野外,精品无码久久久久久久动漫http://m.shnenglu.com/Error/category/21010.htmlzh-cnSat, 15 Nov 2014 03:31:07 GMTSat, 15 Nov 2014 03:31:07 GMT60mysql grant鍛戒護(hù)璇﹁Вhttp://m.shnenglu.com/Error/archive/2014/11/14/208882.htmlEnicEnicFri, 14 Nov 2014 11:29:00 GMThttp://m.shnenglu.com/Error/archive/2014/11/14/208882.htmlhttp://m.shnenglu.com/Error/comments/208882.htmlhttp://m.shnenglu.com/Error/archive/2014/11/14/208882.html#Feedback0http://m.shnenglu.com/Error/comments/commentRss/208882.htmlhttp://m.shnenglu.com/Error/services/trackbacks/208882.htmlgrant 鏉冮檺 on 瀵硅薄 to 鐢ㄦ埛

涓銆乬rant 鏅氭暟鎹敤鎴鳳紝鏌ヨ銆佹彃鍏ャ佹洿鏂般佸垹闄?鏁版嵁搴撲腑鎵鏈夎〃鏁版嵁鐨勬潈鍒┿?nbsp;
grant select on testdb.* to 
grant insert on testdb.* to 
grant update on testdb.* to 
grant delete on testdb.* to

鎴栬咃紝鐢ㄤ竴鏉?MySQL 鍛戒護(hù)鏉ユ浛浠o細(xì) 
grant select, insert, update, delete on testdb.* to

浜屻乬rant 鏁版嵁搴撳紑鍙戜漢鍛橈紝鍒涘緩琛ㄣ佺儲(chǔ)寮曘佽鍥俱佸瓨鍌ㄨ繃紼嬨佸嚱鏁般傘傘傜瓑鏉冮檺銆?nbsp;
grant 鍒涘緩銆佷慨鏀廣佸垹闄?MySQL 鏁版嵁琛ㄧ粨鏋勬潈闄愩?nbsp;
grant create on testdb.* to ;
grant alter  on testdb.* to ;
grant drop   on testdb.* to ;

grant 鎿嶄綔 MySQL 澶栭敭鏉冮檺銆?nbsp;
grant references on testdb.* to ;

grant 鎿嶄綔 MySQL 涓存椂琛ㄦ潈闄愩?nbsp;
grant create temporary tables on testdb.* to ;

grant 鎿嶄綔 MySQL 绱㈠紩鏉冮檺銆?nbsp;
grant index on  testdb.* to ;

grant 鎿嶄綔 MySQL 瑙嗗浘銆佹煡鐪嬭鍥炬簮浠g爜 鏉冮檺銆?nbsp;
grant create view on testdb.* to ;
grant show   view on testdb.* to ;

grant 鎿嶄綔 MySQL 瀛樺偍榪囩▼銆佸嚱鏁?鏉冮檺銆?nbsp;
grant create routine on testdb.* to ;  -- now, can show procedure status
grant alter  routine on testdb.* to ;  -- now, you can drop a procedure
grant execute        on testdb.* to ;

涓夈乬rant 鏅?DBA 綆$悊鏌愪釜 MySQL 鏁版嵁搴撶殑鏉冮檺銆?nbsp;
grant all privileges on testdb to

鍏朵腑錛屽叧閿瓧 “privileges” 鍙互鐪佺暐銆?nbsp;
鍥涖乬rant 楂樼駭 DBA 綆$悊 MySQL 涓墍鏈夋暟鎹簱鐨勬潈闄愩?nbsp;
grant all on *.* to

浜斻丮ySQL grant 鏉冮檺錛屽垎鍒彲浠ヤ綔鐢ㄥ湪澶氫釜灞傛涓娿?nbsp;
1. grant 浣滅敤鍦ㄦ暣涓?MySQL 鏈嶅姟鍣ㄤ笂錛?nbsp;
grant select on *.* to ; -- dba 鍙互鏌ヨ MySQL 涓墍鏈夋暟鎹簱涓殑琛ㄣ?br />grant all    on *.* to ; -- dba 鍙互綆$悊 MySQL 涓殑鎵鏈夋暟鎹簱

2. grant 浣滅敤鍦ㄥ崟涓暟鎹簱涓婏細(xì) 
grant select on testdb.* to ; -- dba 鍙互鏌ヨ testdb 涓殑琛ㄣ?/p>

3. grant 浣滅敤鍦ㄥ崟涓暟鎹〃涓婏細(xì) 
grant select, insert, update, delete on testdb.orders to ;

4. grant 浣滅敤鍦ㄨ〃涓殑鍒椾笂錛?nbsp;
grant select(id, se, rank) on testdb.apache_log to ;

5. grant 浣滅敤鍦ㄥ瓨鍌ㄨ繃紼嬨佸嚱鏁頒笂錛?nbsp;
grant execute on procedure testdb.pr_add to 
grant execute on function  testdb.fn_add to

鍏佹煡鐪?MySQL 鐢ㄦ埛鏉冮檺 
鏌ョ湅褰撳墠鐢ㄦ埛錛堣嚜宸憋級(jí)鏉冮檺錛?nbsp;
show grants;

鏌ョ湅鍏朵粬 MySQL 鐢ㄦ埛鏉冮檺錛?nbsp;
show grants for ;

涓冦佹挙閿宸茬粡璧嬩簣緇?MySQL 鐢ㄦ埛鏉冮檺鐨勬潈闄愩?nbsp;
revoke 璺?grant 鐨勮娉曞樊涓嶅錛屽彧闇瑕佹妸鍏抽敭瀛?“to” 鎹㈡垚 “from” 鍗沖彲錛?nbsp;
grant  all on *.* to   ;
revoke all on *.* from ;

鍏丮ySQL grant銆乺evoke 鐢ㄦ埛鏉冮檺娉ㄦ剰浜嬮」 
1. grant, revoke 鐢ㄦ埛鏉冮檺鍚庯紝璇ョ敤鎴峰彧鏈夐噸鏂拌繛鎺?MySQL 鏁版嵁搴擄紝鏉冮檺鎵嶈兘鐢熸晥銆?2. 濡傛灉鎯寵鎺堟潈鐨勭敤鎴鳳紝涔熷彲浠ュ皢榪欎簺鏉冮檺 grant 緇欏叾浠栫敤鎴鳳紝闇瑕侀夐」 “grant option“ 
grant select on testdb.* to with grant option;

榪欎釜鐗規(guī)т竴鑸敤涓嶅埌銆傚疄闄呬腑錛屾暟鎹簱鏉冮檺鏈濂界敱 DBA 鏉ョ粺涓綆$悊銆?/p>

Enic 2014-11-14 19:29 鍙戣〃璇勮
]]>
久久国产乱子伦免费精品| 久久久精品视频免费观看| 国产精品久久久久国产A级| 久久国产精品99精品国产| 欧美伊香蕉久久综合类网站| 欧美国产精品久久高清| 亚洲乱码精品久久久久..| 爱做久久久久久| 青青草原精品99久久精品66| 国产成人综合久久久久久| 日本欧美久久久久免费播放网| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区| 久久久久国产成人精品亚洲午夜| 一本色综合网久久| 欧美久久一区二区三区| 91久久婷婷国产综合精品青草| 热久久国产欧美一区二区精品 | 久久国产精品成人免费| 久久亚洲中文字幕精品一区| 国产精品99久久精品爆乳| 久久久久人妻精品一区二区三区| 久久播电影网| 一本大道久久a久久精品综合 | 99热成人精品免费久久| 国产亚洲色婷婷久久99精品| 久久久久se色偷偷亚洲精品av| 久久99久久成人免费播放| 亚洲精品高清久久| www久久久天天com| 亚洲AV成人无码久久精品老人| 色狠狠久久综合网| 亚洲欧美精品一区久久中文字幕| 久久国产美女免费观看精品 | 久久久精品人妻无码专区不卡| 久久综合丁香激情久久| 国产精品毛片久久久久久久| 国内精品人妻无码久久久影院| 欧美一区二区三区久久综| 欧美丰满熟妇BBB久久久| 亚洲中文字幕久久精品无码喷水| 7777精品久久久大香线蕉|