如下错误 SQL> grant plustrace to scott; grant plustrace to scott * ERROR at line 1: ORA-01919: role 'PLUSTRACE' does not exist 原因 Role 'PLUSTRACE' 不存在 解决办法 以SYS身份运行如下脚本 SQL> @?/sqlplus/admin/plustrce.sql 另外,一般情况下,为配合使用AUTOTRACE功能,常见于在某个将要被授予该角色的用户下执行下述脚…
环境:Oracle 10g,11g. 现象:在一次迁移测试中,发现有这样的角色赋权会报错不存在: SYS@orcl> grant PLUSTRACE to jingyu; grant PLUSTRACE to jingyu * ERROR at line 1: ORA-01919: role 'PLUSTRACE' does not exist 查询发现这个角色是需要手工执行脚本创建,直接执行Oracle自带的SQL脚本@?/sqlplus/admin/plustrce.sql即可: SYS@o…
我在用数据泵导入数据的时候报的错 TEST_USER1@ORCL> conn / as sysdbaSYS@ORCL> grant plustrace to TEST_USER1; grant plustrace to TEST_USER1 *ERROR at line 1:ORA-01919: role 'PLUSTRACE' does not existSYS@ORCL> select * from dba_roles where role='PLUSTRACE';no rows s…
在docker里恢复bakcup格式的数据库,结果提示role "root" does not exist 解决方法: 切换用户: su - postgres 然后再次运行命令: pg_restore --dbname=数据库名 --jobs=4 --verbose data.backup…
在使用seed PDB创建新的PDB的时候,报了以下错误提示: SQL> create pluggable database pdb2 admin user admin1 identified by admin1 file_name_convert=('/u12/app/oracle/oradata/db12/pdb1','/u12/app/oracle/oradata/db12/pdb2'); create pluggable database pdb2 admin user admin1 i…
I'm a postgres novice. I installed the postgres.app for mac. I was playing around with the psql commands and I accidentally dropped the postgres database. I don't know what was in it. I'm currently working on a tutorial: http://www.rosslaird.com/blog…
当时想做的事情,是运行一个创建数据库的脚本.找到的解决方案差不多和下面这个链接相同. http://stackoverflow.com/questions/15301826/psql-fatal-role-postgres-does-not-exist 实际上做的事情就是login in 用别的帐号 然后 ,在postgres的虚拟机里(而不是terminal) CREATE USER postgres SUPERUSER; 实际上这个对我来说就够了.解决了 role does not exis…
I have created a new user named watson and granted the related priviledges as following: SQL> create user watson identified by watson; SQL> grant resource ,connect,create session to watson; There will be an error happened when we use this new user t…
1.今天在scott用户下执行语句跟踪时报了如下错误: SCOTT@ORA11GR2>set autotrace on SP2: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2: Error enabling STATISTICS report 2.通过上述问题分析,是由于scott用户没有PLUSTRACE角色,执行PLUSTRACE角色: /db_1/sqlplus/admin/ [oracle@…
SQL> set autotrace Usage: SET AUTOT[RACE] {OFF | ON | TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]] SQL> set autotrace on SP2: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2: Error enabling STATISTICS report SQL> conn /as sysdb…