2018-01-06 20:29:02 +08:00
|
|
|
|
|
|
|
|
|
|
create user jeesite
|
|
|
|
|
|
identified by jeesite
|
|
|
|
|
|
quota unlimited on users;
|
|
|
|
|
|
|
|
|
|
|
|
grant connect,resource,create session,select any table,
|
|
|
|
|
|
create any view,create any table,create any index,
|
|
|
|
|
|
drop any table,drop any view,drop any index
|
2018-05-03 22:40:20 +08:00
|
|
|
|
to jeesite;
|
|
|
|
|
|
|
|
|
|
|
|
-- 多数据源分布式事务下,需要对目标用户进行如下授权,否则会提示错误:ResourceException: Error in recovery
|
|
|
|
|
|
grant select on sys.dba_pending_transactions to jeesite;
|
|
|
|
|
|
grant select on sys.pending_trans$ to jeesite;
|
|
|
|
|
|
grant select on sys.dba_2pc_pending to jeesite;
|
|
|
|
|
|
grant execute on sys.dbms_system to jeesite;
|