oracle的11g以前的 版本中使用者的密碼是不區分大小寫的,11g中使用者的密碼大小寫敏感了。
oracle 9i的情況
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Jul 11 19:32:15 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
User created.
Grant succeeded.
Connected.
sys@>
oracle 10g的情況
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Jul 11 19:38:10 2011
@> conn yang/yang
已連接配接。
oracle 11的情況
11G裡有一個參數sec_case_sensitive_logon可以開啟密碼大小寫敏感性的,
alter system set sec_case_sensitive_logon=true|false
預設情況下,11gr2 oracle是大小寫敏感的。
C:\Users\aaaa>sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on 星期一 7月 11 19:44:
Copyright (c) 1982, 2010, Oracle. All rights reserved.
@>conn /as sysdba
使用者已建立。
授權成功。
ERROR:
ORA-01017: invalid username/password; logon denied
警告: 您不再連接配接到 ORACLE。
系統已更改。