這篇文章將為大家詳細(xì)講解有關(guān)MySQL如何實(shí)現(xiàn)用戶權(quán)限回收,小編覺(jué)得挺實(shí)用的,因此分享給大家做個(gè)參考,希望大家閱讀完這篇文章后可以有所收獲。
創(chuàng)新互聯(lián)是專業(yè)的陜州網(wǎng)站建設(shè)公司,陜州接單;提供成都做網(wǎng)站、成都網(wǎng)站制作,網(wǎng)頁(yè)設(shè)計(jì),網(wǎng)站設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);采用PHP框架,可快速的進(jìn)行陜州網(wǎng)站開(kāi)發(fā)網(wǎng)頁(yè)制作和功能擴(kuò)展;專業(yè)做搜索引擎喜愛(ài)的網(wǎng)站,專業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來(lái)合作!
mysql 用戶權(quán)限回收
show grants for 'monitor'@'%';
+--------------------------------------------------------------------------------------------------------+
| Grants for monitor@% |
+--------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'monitor'@'%' IDENTIFIED BY PASSWORD '*8E043332BD6AAC61C53AE3D835FFF316F00337CC' |
| GRANT EXECUTE ON "test".* TO 'monitor'@'%' |
| GRANT ALL PRIVILEGES ON "monitor".* TO 'monitor'@'%' |
| GRANT SELECT ON "performance_schema".* TO 'monitor'@'%' |
+--------------------------------------------------------------------------------------------------------+
REVOKE ALL PRIVILEGES ON "monitor".* from 'monitor'@'%' ;
grant delete,update,insert,select on "monitor".* TO 'monitor'@'%' ;
flush privileges;
關(guān)于“mysql如何實(shí)現(xiàn)用戶權(quán)限回收”這篇文章就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,使各位可以學(xué)到更多知識(shí),如果覺(jué)得文章不錯(cuò),請(qǐng)把它分享出去讓更多的人看到。