Oracle用戶端、Oracle版本不同時登陸表現,oracle用戶端

來源:互聯網
上載者:User

Oracle用戶端、Oracle版本不同時登陸表現,oracle用戶端

 ***********************************************聲明********************************************** 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處,否則追究著作權法律責任。

表述有錯誤之處,請您留言或郵件(hyldba@163.com)指明,不勝感激。

本文轉載必須保留此處:http://blog.csdn.net/huangyanlong/article/details/39216069

深藍的blog:http://blog.csdn.net/huangyanlong

***************************************************************************************************

1. 10g用戶端登陸11g庫現象

[oracle@org54~]$ sqlplus scott/tiger@10.53.105.65/hyl

--sqlplus使用者名稱/密碼@主機名稱/資料庫服務名

SQL*Plus:Release 10.2.0.1.0 - Production on Sun Sep 7 08:57:23 2014

Copyright(c) 1982, 2005, Oracle.  All rightsreserved.

Connectedto:

OracleDatabase 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

Withthe Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>select comp_name,version,status from dba_registry;

--查看資料庫的版本是11.2.0.4.0,而對應於登入時的用戶端是10.2.0.1.0


SQL>quit

--當退出資料庫時,也會顯示資料庫的版本

Disconnectedfrom Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bitProduction

Withthe Partitioning, OLAP, Data Mining and Real Application Testing options

補充一點:如何讓其他使用者訪問資料字典

SQL>show parameter o7

NAME                                 TYPE        VALUE

----------------------------------------------- ------------------------------

O7_DICTIONARY_ACCESSIBILITY          boolean     FALSE

SQL>alter system set O7_DICTIONARY_ACCESSIBILITY=true scope=spfile;

SQL>show parameter o7

NAME                                 TYPE        VALUE

----------------------------------------------- ------------------------------

O7_DICTIONARY_ACCESSIBILITY          boolean     TRUE


2. 11g用戶端登陸10g庫現象

小結:

注意使用sqlplus登陸資料庫,不要將sqlplus和資料庫的版本混淆了,兩者是不同的概念。

3. 補充小知識:資料庫的認證格式

1、作業系統認證:預設下,本機伺服器登陸Oracle資料庫,使用作業系統認證,不用輸入資料庫使用者名稱及密碼,

登陸格式通常為:SQL>sqlplus / as sysdba

2、使用者密碼認證:當使用者遠端連線資料庫時,需要使用資料庫使用者名稱、密碼認證後才可以登陸,

諸如:SQL>sqlplus scott/tiger as sysdba

 ***********************************************聲明********************************************** 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處,否則追究著作權法律責任。

表述有錯誤之處,請您留言或郵件(hyldba@163.com)指明,不勝感激。

本文轉載必須保留此處:http://blog.csdn.net/huangyanlong/article/details/39216069

深藍的blog:http://blog.csdn.net/huangyanlong

***************************************************************************************************


oracle10用戶端登陸問題

需要修改幾個參數。
1、服務端IP
2、SID(全域資料庫名)
不過對於oracle低版本連高版本,我個人覺得需要安裝用戶端。
即,安裝oracle8的用戶端,去串連oracle10的服務端。
如果你本機安裝的oracle8的服務端,我覺得直接改tnsname會有問題。
我覺得你可以嘗試這樣做。
1、安裝oracle8的用戶端
2、配置用戶端中的NET MANAGER或者NET CONFIGURATION ASSISTANT
3、嘗試串連。
 
oracle哪個版本以後開始用頁面管理,就是不需安裝用戶端也可登入伺服器管理資料庫

你是說OEM吧,應該是從10G以後

以下來自網路:
Oracle 自10g 以後,企業管理器(Oracle Enterprise Manager:OEM)變成了網頁形式。 OEM 分兩種:Grid Control(網格控制) 和 Database Control(資料庫控制)。

Grid Control 是具有完整功能的全企業Oracle 生態系統管理工具。
Database Control是可以只作為資料庫管理公用程式部署的OEM 版本。

Grid Control 和 Database Control 區別:Grid Control 可以監控整個Oracle 生態環境,它具有一個中心儲存倉庫,用於收集有關多個電腦上的多個目標的資料,並且提供一個介面來顯示所有已發現目標的共同資訊。
Database Control 是Grid Control 功能的一個子集,Database Control 只監控一個資料庫,並且不能用於監控多個資料庫。 它只在資料庫上運行。
 

相關文章

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.