oracle 11g 設定使用者密碼大小寫敏感,oracle11g

來源:互聯網
上載者:User

oracle 11g 設定使用者密碼大小寫敏感,oracle11g

 11g通過一個參數設定密碼大小寫敏感,下面來做個實驗:

C:\Documents and Settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg

SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:54:19 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
串連到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> show parameter  sec_case_sensitive_logon
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon             boolean     TRUE


C:\Documents and Settings\guogang>sqlplus gg_test/gg_tesT@10.10.15.25_gg
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:54:06 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
請輸入使用者名稱:


C:\Documents and Settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:52:35 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
串連到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter system set sec_case_sensitive_logon=false;
系統已更改。

SQL> 從 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 斷開


C:\Documents and Settings\guogang>sqlplus gg_test/gg_tesT@10.10.15.25_gg
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:53:48 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
串連到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter  sec_case_sensitive_logon
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon             boolean     FALSE
oracle 11g登入密碼問題

可能原因如,請一一核對:
1、如果你以sys使用者登入的話,串連身份請選擇【as sysdba】
說明:如果你的sys使用者密碼在安裝的時候沒有修改,他的預設密碼是:
【change_on_install】。
如果你改了忘記了,可以利用如下方法重設:
1)進入cmd
2)sqlplus / as sysdba
3)alter user sys identified by 新密碼;

2、如果是你建立的普通使用者登入的話,使用者名稱和密碼請重新確認是否正確,如果實在是確認不了的話,使用sqlplus工具按照如下方式重建立一個使用者再試

1)進入cmd
2)sqlplus / as sysdba 或者 sqlplus sys/密碼 as sysdba
3) create user 使用者名稱 identified by 密碼;
4) grant connect,resource to 使用者名稱;
5) conn 使用者名稱/密碼
說明:如果第 5)步可以串連成功說明,使用者建立成功,就可以用這個使用者登入了。

---
以上,希望對你有所協助。
 
安裝oracle 11g的時不小心跳過了口令管理介面,沒有設定密碼,導致登入不上

你可以使用作業系統認證的方式 登入資料庫 ,然後使用命令更改密碼即可,方法如下: 開啟一個命令提示字元 (開始菜單--運行--“cmd”)
sqlplus "/as sysdba"
SQL> alter user sys identified by xxxx;
 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.