oracle 在建立新的資料庫以後,會預設啟動 orcaleservice***x服務。
這個時候通過sqlplus連線只能連線到這個***x的資料庫。
如果想連線到以前的資料庫 方法如下:
windows中:
在cmd中打入set命令後在諸多的變數中可以看到乙個oracle_sid=***x的條目
這時只需要輸入 set oracle_sid=***x , ***x為你想連線的資料庫名後啟動對應的資料庫服務就行了。
ps: 在linux中 可以通過 export命令 實現。
可以用export oracle_sid = sid名稱
oracle建立資料庫後建立自己的使用者
第1步 登入 以sys sys超級使用者登入pl sql 第2步 建立臨時表空間 create temporary tablespace user temp tempfile e oracle product 10.2.0 oradata wu user temp.dbf size 50m auto...
oracle建立資料庫後建立自己的使用者
oracle建立 資料庫後建立自己的使用者 sql 第1步 登入 以sys sys超級使用者登入pl sql 第2步 建立臨時表空間 create temporary tablespace user temp tempfile e oracle product 10.2.0 oradata wu u...
oracle資料庫建立後要做的事情
在sql plus工具中 oracle自帶 用conn as sysdba登入資料庫。一 先新建使用者 create user test01 identified by test02 test01為使用者名稱,test02為使用者密碼 二 賦予資料庫操作的基本許可權 grant connect,re...