在11.2.0.4数据库里创建用户,默认PASSWORD_VERSIONS为10g 11g:
[oracle@bre1 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Mon Jul 21 12:26:14 2014 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> show parameter sec_ca NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ sec_case_sensitive_logon boolean TRUE SQL> create user test2 identified by test2; User created. SQL> select username,password,PASSWORD_VERSIONS from dba_users where username='TEST2'; USERNAME PASSWORD PASSWORD ------------------------------ ------------------------------ -------- TEST2 10G 11G
[oracle@bre1 test]$ impdp system/manager directory=test dumpfile=1.dmp logfile=3.log schemas=test Import: Release 11.2.0.4.0 - Production on Mon Jul 21 12:30:29 2014 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded Starting "SYSTEM"."SYS_IMPORT_SCHEMA_01": system/******** directory=test dumpfile=1.dmp logfile=3.log schemas=test Processing object type DATABASE_EXPORT/SCHEMA/USER Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA . . imported "TEST"."T3" 874.3 KB 9995 rows . . imported "TEST"."T1" 5.234 KB 3 rows Processing object type DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS Job "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully completed at Mon Jul 21 12:30:34 2014 elapsed 0 00:00:03 [oracle@bre1 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Mon Jul 21 12:20:45 2014 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select username,password,PASSWORD_VERSIONS from dba_users where username='TEST'; USERNAME PASSWORD PASSWORD ------------------------------ ------------------------------ -------- TEST 10G SQL> conn test/test Connected. SQL> conn test/TEST Connected. SQL> conn test/Test Connected.