[oracle@db12cr2 bin]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Wed Mar 15 05:39:28 2017
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SQL> show parameter case
NAME TYPE VALUE
------------------------------------ ----------- ----------
sec_case_sensitive_logon boolean TRUE ----------->>>参数值是TRUE,默认值就是TRUE.
SQL> create user c##test identified by db12c;
User created.
SQL> grant create session to c##test;
Grant succeeded.
SQL> conn c##test/db12c ------>>>注意是小写的c
Connected.
SQL> conn c##test/db12C ------>>>注意是大写的C
ERROR:
ORA-01017: invalid username/password; logon denied ----------->>>这意味着12c默认就是区分大小写的.
Warning: You are no longer connected to ORACLE.
SQL>
Oracle 12c的用户密码默认是区分大小写的
最新推荐文章于 2025-06-22 12:29:15 发布
本文通过实例演示了Oracle Database 12c中如何创建用户,并验证了其默认设置下用户名和密码的大小写敏感特性。实验结果显示,在12c版本中,用户的登录名与密码区分大小写。

2354

被折叠的 条评论
为什么被折叠?



