oracle11g使用pl/sql developer連線asm例項
oracle11g使用pl/sql developer連線asm例項,步驟如下:[@more@]
1,在tnsnames.ora 配置相應的連線字串
如下:
asmasm =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.18.131)(PORT = 1521))
)
(CONNECT_DATA =
(SID = +ASM)
(SERVER = DEDICATED)
)
)
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.18.131)(PORT = 1521))
)
(CONNECT_DATA =
(SID = +ASM)
(SERVER = DEDICATED)
)
)
2,tnsping asmasm是否通:
C:UsersFounder>tnsping asmasm
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 01-2月 -2013 10:03:02
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:appproduct11.2.0dbhome_1networkadminsqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.18.131)(PORT = 1521))) (
CONNECT_DATA = (SID = +ASM) (SERVER = DEDICATED)))
OK (10 msec)
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 01-2月 -2013 10:03:02
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
D:appproduct11.2.0dbhome_1networkadminsqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.18.131)(PORT = 1521))) (
CONNECT_DATA = (SID = +ASM) (SERVER = DEDICATED)))
OK (10 msec)
3,在cmd中執行如下:
都可以連線asm例項
C:UsersFounder>sqlplus sys/oracle@asmasm as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on 星期五 2月 1 10:03:48 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
C:UsersFounder>sqlplus sys/oracle@asmasm as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 星期五 2月 1 10:04:00 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL>
SQL*Plus: Release 11.2.0.1.0 Production on 星期五 2月 1 10:03:48 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
C:UsersFounder>sqlplus sys/oracle@asmasm as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 星期五 2月 1 10:04:00 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL>
SQL> show parameter instance
NAME TYPE VALUE
------------------------------------ ---------------------- ---------------------------
cluster_database_instances integer 1
instance_name string +ASM
instance_number integer 1
instance_type string asm
NAME TYPE VALUE
------------------------------------ ---------------------- ---------------------------
cluster_database_instances integer 1
instance_name string +ASM
instance_number integer 1
instance_type string asm
4,在pl/sql developer中
username 輸入 sys
password 輸入 oracle (密碼)
database 輸入 asmasm
connect as 選擇sysdba
即可連線asm例項
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-1060182/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle10g 使用pl/sql developer連線asm例項OracleSQLDeveloperASM
- PL/SQL Developer 連線 OracleSQLDeveloperOracle
- 5. Oracle連線和使用——5.2. PL/SQL DeveloperOracleSQLDeveloper
- PL/SQl Developer使用SQLDeveloper
- PL/SQL Developer 使用SQLDeveloper
- PL/SQL Developer連線到Oracle 12cSQLDeveloperOracle
- PL/SQL Developer連線遠端Oracle資料庫SQLDeveloperOracle資料庫
- pl/sql developer使用技巧SQLDeveloper
- 本地不安裝oracle,用PL/SQL Developer連線資料庫OracleSQLDeveloper資料庫
- 64位Windows7下PL/SQL Developer無法連線WindowsSQLDeveloper
- 從客戶端連線ASM例項客戶端ASM
- 轉:使用instantclient_11_2 和PL/SQL Developer工具包連線oraclientSQLDeveloper
- PL/SQL Developer使用技巧、快捷鍵SQLDeveloper
- PL/SQL developer 遠端連線資料庫 客戶端配置SQLDeveloper資料庫客戶端
- 64位機器上使用PL/SQL Developer 連線不上Oracle的解決辦法SQLDeveloperOracle
- oracle11g asm單例項重建hasOracleASM單例
- pl sql developer 8.0 register codeSQLDeveloper
- 配置SQL Developer連線MySQL的方法DeveloperMySql
- oracle sql developer 2.1如何連線oracleOracleSQLDeveloper
- 「Oracle」客戶端 PL/SQL DEVELOPER 安裝使用Oracle客戶端SQLDeveloper
- Oracle instant client及pl sql developer的使用OracleclientSQLDeveloper
- PL/SQL Profiler 和SQL Developer 報表SQLDeveloper
- jdbc根據例項名 連線 sql serverJDBCSQLServer
- oracle 11gR2 配置goldengate連線asm例項OracleGoASM
- sql 連線查詢例項(left join)三表連線查詢SQL
- PL/SQL Developer顯示行號SQLDeveloper
- 【Oracle】Windows安裝pl/sql developerOracleWindowsSQLDeveloper
- pl/sql裡的左連線和右連線符號“+”SQL符號
- pl/sql developer中文顯示亂碼SQLDeveloper
- 設定PL/SQL Developer 字符集SQLDeveloper
- PL/SQL Developer 6.0.4.906特別版SQLDeveloper
- Oracle PL/SQL 程式設計基礎 例項OracleSQL程式設計
- pl developerDeveloper
- 例項解析外連線 內連線 自連線 全連線
- 使用instantclient_11_2 和PL/SQL Developer工具包連線oracle 11g遠端資料庫(轉)clientSQLDeveloperOracle資料庫
- 使用instantclient和PL/SQL連線oracle遠端資料庫clientSQLOracle資料庫
- pl/sql developer的一個小問題SQLDeveloper
- PL/SQL Developer-官網下載地址SQLDeveloper