1.新建用户 新建用户: create User username Identified by password 修改用户密码: alter User username Identified by password 删除用户密码: drop user user_name [cascade] (cascade:级联删除选项,如果用户包含数据库对象,则必须加 CASCADE选项,此时连同该用户所拥有的对象一起删除.) [注意]: ①只有有DBA权限的用户才能新建用户: ②username :用户名.
1.登录 2.创建用户create user new用户名 identified by new用户名创建new用户名用户,密码设置为new用户名. 3.授权new用户名用户的连接.资源权限.grant connect,resource to new用户名 4.指定表授权查询权限.grant select on old用户名.T_CSL_A to new用户名grant select on old用户名.T_ORG_B to new用户名grant select on old用户名.T_CSL_C
create user username identified by password; grant dba to username; 授权 或 grant connect, resource to username; 已授予的权限可以撤消 revoke connect, resource from username
create user JSETI_WZQ identified by abcdef; -- 假设abcdef是密码 grant connect,resource to JSETI_WZQ; grant select on LYSDC.ly_xxbz_gxjg_grtxfszl to JSETI_WZQ; grant select on LYSDC.ly_xxbz_gxjg_jzgjcsjzl to JSETI_WZQ; grant select on LYSDC.LY_XXBZ_GXXX_DW
https://www.jianshu.com/p/fab356d68ae2 grant connect,resource to xinomonitor; 发现不能进行断点调试,然后授如下权限 grant debug any procedure to xinomonitor;grant debug connect session to xinomonitor;