Oracle預設的使用者名稱和密碼

來源:互聯網
上載者:User

標籤:http   使用   ar   資料   sp   問題   on   c   html   

前面換了一台機器,害的我又把所有的軟體裝了一遍,開發環境重新設定(vs2003、vs2008、oracle……),真是不容易,期間也遇到了不少問題,不過都很容易解決。但是在oracle安裝中,建立了一個資料庫,安裝過程中也設定了使用者名稱和密碼,但是就是登入不成功,查來查去就是使用者授權的問題,所以還的通過oracle系統管理使用者登陸進行對之前的使用者名稱授權。


  Oracle中預設的使用者名稱和密碼如下表格:


  



  一些簡單的操作:


  運行 —> 輸入cmd—>輸入sqlplus


  此時需要輸入使用者名稱和密碼 可以使用 system


  1.建立暫存資料表空間:


  create temporary tablespace test_temp


  tempfile ‘/oracle/product/10.2.0/oradata/test/test_temp01.dbf‘ //目錄要存在


  size 32m


  autoextend on


  next 32m maxsize 1024m


  extent management local;


  2.建立資料資料表空間:


  create temporary tablespace test_data


  tempfile ‘/oracle/product/10.2.0/oradata/test/test_data01.dbf‘ //目錄要存在


  size 32m


  autoextend on


  next 32m maxsize 1024m


  extent management local;


  3.建立使用者


  create user 使用者名稱 identified by 密碼


  default tablespace test_data


  temporary tablespace test_temp;


  4.給使用者授予許可權


  grant connect,resource,…… to 使用者名稱;


  5.使用者解鎖


  alter user system account unlock;


  6.刪除使用者


  drop user 使用者名稱 cascade;



原文出自【位元網】,轉載請保留原文連結:http://soft.chinabyte.com/database/290/11378790.shtml


Oracle預設的使用者名稱和密碼

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.