当新创建一个oracle用户时,因为oracle自身的安全机制,很多东西都受到了限制,我们不得不赋予权限给新用户。比如说,我们新建了一个用户,当我们尝试用pl/sql developer登录时,都提示受到了限制,我们不能不把session给新的用户。
我们可以尝试把以下权限赋值给新的用户。
grant connect to XX;
grant exp_full_database to XX;
grant imp_full_database to XX;
grant resource to XX;
grant create procedure to XX;
grant create trigger to XX;
grant execute any procedure to XX;
grant grant any privilege to XX;
grant restricted session to XX;
grant select any table to XX;
grant unlimited tablespace to XX;
grant create any view to XX;