Oracle报错解决
Oracle版本19c
Oracle用户名:oracle
ORA-01045
使用IDEA的插件连接Oracle时报
ORA-01045:user system lacks create session privilege; logon denied
是因为没有给用户配置session权限,进入终端执行
sqlplus / as sysdba
在SQL>中再执行下面语句,oracle是用户名
grant create session to oracle;
ORA-01031
建表报ORA-01031: insufficient privileges
在SQL>中执行如下命令, 给oracle用户建表权限
grant create any table to oracle;
ORA-01950
使用JPA时报
ORA-01950: no privileges on tablespace ‘USERS’
SQL>中执行
alter user oracle quota unlimited on USERS;