alter user scott account unlock; 解锁

-- 新建用户
create user yym identified by 123456;

-- 放开用户权限
grant connect,resource to yym;

-- 开放数据表权限
grant select on scott.java0322 to yym with grant option;

-- 查询非本用户数据表
select * from scott.java0322;

-- 撤销权限
revoke select on scoot.java0322 from yym;

最新文章

  1. C#中POST数据和接收的几种方式(抛砖引玉)
  2. touches, targetTouches, changedTouches 区别
  3. POJ 2771 二分图(最大独立集)
  4. mybatis UpdateByExampleMapper UpdateByExampleSelectiveMapper
  5. ajax+json+java
  6. Trie/最短的名字
  7. java 面向对象 1
  8. Vue components Cannot read property '__ob__' of undefined
  9. [NewLife.XCode]增量累加
  10. 【CF131D】Subway
  11. Transform Model
  12. 【iCore4 双核心板】4.3寸液晶模块程序发布
  13. echarts显示X轴最后一个lable
  14. 【工具】代码生成器-python脚本
  15. SQL注入漏洞知识总结
  16. OPEN(SAP) UI5 学习入门系列之三:MVC (下) - 视图与控制器
  17. Ubuntu 15.04 下apt-get安装JDK
  18. mysql 5.7.11 源码安装
  19. 飘雪圣域(icekingdom)
  20. Codeforces Round #291 (Div. 2) B. Han Solo and Lazer Gun

热门文章

  1. 崛起于Springboot2.X之开发拦截器(21)
  2. Prometheus monitor RabbitMQ
  3. MySQL存储过程举例
  4. 遍历HashMap常用的的三种方式
  5. 使用Optional,不再头疼NPE
  6. LeetCode最长回文子串
  7. python读取excel所有数据(cmd界面)
  8. SpringBoot基础实战系列(二)springboot解析json与HttpMessageConverter
  9. 【跟我一起读 linux 源码 01】boot
  10. Redis 6.0 多线程重磅发布!!!