用 SYS新建 OWBSYS用户时,用户名必须是 C##OWBSYS,而这不是我想要的 OWBSYS~~
10 个解决方案
#1
LZ 提供一下你的 exp 和 imp 命令行,可能是你导出的用户有好几个,你导入时,并不存在这些(一部分)用户。
#2
如何导出的,又是如何导入的?
#3
谢谢你的回答!的确是导入时不存在OWBSYS这个用户,于是我尝试着用SYS新建一个OWBSYS用户,结果如下:
于是我查了一下,12c新增了CBD和PDB模块(这是我参考的网址:http://www.cnblogs.com/dingyingsi/p/3604789.html)。
但是这样只能新建公用用户: C##OWBSYS
这不是我要的 OWBSYS用户。。
于是我查了一下,12c新增了CBD和PDB模块(这是我参考的网址:http://www.cnblogs.com/dingyingsi/p/3604789.html)。
但是这样只能新建公用用户: C##OWBSYS
这不是我要的 OWBSYS用户。。
#4
数据库是别人导出的,主要的问题是在12c中我建立的是公用用户,而公用用户必须以'C##'开头。好像跟12c新增的CDB和PDB有关,我现在在看,不是很明白。
#5
楼主解决了吗?
#6
我也遇到了类似的问题,楼主解决了吗,解决的话告诉下大家,非常感谢
#7
SQL> @cat_owb
Enter Tablespace Name for OWBSYS user:
users
Package created.
Package body created.
Create user OWBSYS with default tablespace users ...
old 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE &owbsys_tbs
new 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE users
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
User created.
User altered.
NOTE: To associate the Control Center with the correct OWB home, now run owb/UnifiedRepos/reset_owbcc_home.sql. You must run the script. as a user with java admin privileges. For example, connect as sys as sysdba to run the script.
SQL> SQL> SQL> SQL>
SQL> @reset_owbcc_home
Enter the full path of the Oracle home for the OWB Control Center install.
If you are installing in a Windows environment, please ensure that the case of the path exactly matches the Oracle install path including the drive letter.
OWB Control Center Home:
/usr/local/oracle/product/11.2.0/dbhome_1
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Enter Tablespace Name for OWBSYS user:
users
Package created.
Package body created.
Create user OWBSYS with default tablespace users ...
old 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE &owbsys_tbs
new 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE users
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
User created.
User altered.
NOTE: To associate the Control Center with the correct OWB home, now run owb/UnifiedRepos/reset_owbcc_home.sql. You must run the script. as a user with java admin privileges. For example, connect as sys as sysdba to run the script.
SQL> SQL> SQL> SQL>
SQL> @reset_owbcc_home
Enter the full path of the Oracle home for the OWB Control Center install.
If you are installing in a Windows environment, please ensure that the case of the path exactly matches the Oracle install path including the drive letter.
OWB Control Center Home:
/usr/local/oracle/product/11.2.0/dbhome_1
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
#8
1、新建一个pdb
2、修改tnsnames.ora 增加一个指向pdb的tns
3、impdp时候 @新的tns
不过话说如果你不懂pdb,最好不要用,重新装一个数据库吧,安装的时候记得不要勾选 pdb选项
#9
你是不是往CDB里导数据呢?
#10
从别的版本导数据的时候,只能将数据导入到pdb中
#1
LZ 提供一下你的 exp 和 imp 命令行,可能是你导出的用户有好几个,你导入时,并不存在这些(一部分)用户。
#2
如何导出的,又是如何导入的?
#3
谢谢你的回答!的确是导入时不存在OWBSYS这个用户,于是我尝试着用SYS新建一个OWBSYS用户,结果如下:
于是我查了一下,12c新增了CBD和PDB模块(这是我参考的网址:http://www.cnblogs.com/dingyingsi/p/3604789.html)。
但是这样只能新建公用用户: C##OWBSYS
这不是我要的 OWBSYS用户。。
于是我查了一下,12c新增了CBD和PDB模块(这是我参考的网址:http://www.cnblogs.com/dingyingsi/p/3604789.html)。
但是这样只能新建公用用户: C##OWBSYS
这不是我要的 OWBSYS用户。。
#4
数据库是别人导出的,主要的问题是在12c中我建立的是公用用户,而公用用户必须以'C##'开头。好像跟12c新增的CDB和PDB有关,我现在在看,不是很明白。
#5
楼主解决了吗?
#6
我也遇到了类似的问题,楼主解决了吗,解决的话告诉下大家,非常感谢
#7
SQL> @cat_owb
Enter Tablespace Name for OWBSYS user:
users
Package created.
Package body created.
Create user OWBSYS with default tablespace users ...
old 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE &owbsys_tbs
new 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE users
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
User created.
User altered.
NOTE: To associate the Control Center with the correct OWB home, now run owb/UnifiedRepos/reset_owbcc_home.sql. You must run the script. as a user with java admin privileges. For example, connect as sys as sysdba to run the script.
SQL> SQL> SQL> SQL>
SQL> @reset_owbcc_home
Enter the full path of the Oracle home for the OWB Control Center install.
If you are installing in a Windows environment, please ensure that the case of the path exactly matches the Oracle install path including the drive letter.
OWB Control Center Home:
/usr/local/oracle/product/11.2.0/dbhome_1
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Enter Tablespace Name for OWBSYS user:
users
Package created.
Package body created.
Create user OWBSYS with default tablespace users ...
old 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE &owbsys_tbs
new 1: CREATE USER OWBSYS IDENTIFIED BY OWBSYS DEFAULT TABLESPACE users
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
User created.
User altered.
NOTE: To associate the Control Center with the correct OWB home, now run owb/UnifiedRepos/reset_owbcc_home.sql. You must run the script. as a user with java admin privileges. For example, connect as sys as sysdba to run the script.
SQL> SQL> SQL> SQL>
SQL> @reset_owbcc_home
Enter the full path of the Oracle home for the OWB Control Center install.
If you are installing in a Windows environment, please ensure that the case of the path exactly matches the Oracle install path including the drive letter.
OWB Control Center Home:
/usr/local/oracle/product/11.2.0/dbhome_1
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
#8
1、新建一个pdb
2、修改tnsnames.ora 增加一个指向pdb的tns
3、impdp时候 @新的tns
不过话说如果你不懂pdb,最好不要用,重新装一个数据库吧,安装的时候记得不要勾选 pdb选项
#9
你是不是往CDB里导数据呢?
#10
从别的版本导数据的时候,只能将数据导入到pdb中