進入oracle的SQL*PLUS介面

來源:互聯網
上載者:User

標籤:password   manager   account   oracle   使用者名稱   

之前安裝了oracle,但是第一次安裝後,就是不知道怎麼輸入使用者名稱和密碼進入到裡面,現在教你如何進入oracle執行相應的命令

解決ora-280000 the account is locked的問題:

 

開始-->運行-->cmd 進行DOS介面

650) this.width=650;" src="http://s1.51cto.com/wyfs02/M02/83/9D/wKioL1d4dxHyl27VAAEN7CJkQao867.png-wh_500x0-wm_3-wmp_4-s_3245571584.png" title="1.png" alt="wKioL1d4dxHyl27VAAEN7CJkQao867.png-wh_50" />

650) this.width=650;" src="http://s4.51cto.com/wyfs02/M00/83/9D/wKioL1d4d1TgXI7lAAEK_rhgWq4265.png-wh_500x0-wm_3-wmp_4-s_3241677853.png" title="1.png" alt="wKioL1d4d1TgXI7lAAEK_rhgWq4265.png-wh_50" />

輸入:sqlplus.exe / as sysdba;

SQL>alert user scott account unlock;

User altered.

sql>commit;

Commit complete.

SQL>conn scott/tiger

ERROR:

ORA-28001:the password has expired

Change password for scott

New passoword:

Retype new password

Password changed

Connect.

SQL>commit;

Commit complete.

 

這個時候使用scott/新的密碼進行net manager測試可以成功,這樣就解決了ora-280000 the account is locked的問題

 


那下一個問題就是如果system的密碼忘了怎麼辦?

首先,使用上面提到的方法進入sqlplus

SQL> conn /as sysdba

Connect.

SQL> alter user system identified by manager;

User altered.

SQL>commit;

Commit complete.

SQL>conn system/manager;

Connected.

到此這個問題也解決。

感謝http://tlk20071.iteye.com/blog/1989854 這位網友的內容。。學習資料庫就要把一些基本內容都學會,根基不打好怎麼進行後面的學習呢。嘿嘿。今天2016年7月3日。。

寧缺毋濫,容不得一點瑕疵。


進入oracle的SQL*PLUS介面

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.