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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 5. Oracle連線和使用——5.2. PL/SQL DeveloperOracleSQLDeveloper
- PL/SQL Developer連線到Oracle 12cSQLDeveloperOracle
- PL/SQL Developer連線遠端Oracle資料庫SQLDeveloperOracle資料庫
- 本地不安裝oracle,用PL/SQL Developer連線資料庫OracleSQLDeveloper資料庫
- 使用SSMS連線和查詢 SQL Server 例項SSMSQLServer
- 「Oracle」客戶端 PL/SQL DEVELOPER 安裝使用Oracle客戶端SQLDeveloper
- pl developerDeveloper
- pl/sql developer的一個小問題SQLDeveloper
- sql 連線查詢例項(left join)三表連線查詢SQL
- 使用11g客戶端或pl/sql developer連線高版本Oracle 19c ORA-28040 ORA-01017客戶端SQLDeveloperOracle
- PL/SQL Developer下載地址和漢化包地址SQLDeveloper
- PL/SQL 連線 Oralce 提示 Could not initialize oci.dllSQL
- 連線雲MariaDB例項
- 本地SSH方式連線例項
- RAC+DG(asm單例項)ASM單例
- 設計模式使用例項(5)——建造者模式例項之資料庫連線管理設計模式資料庫
- 2.4.7 Step 6: 連線到例項
- Luat例項教程:tcp短連線TCP
- 【Oracle】ASM例項安裝入門OracleASM
- PL/Plus本地連線oracle配置Oracle
- Oracle SQL Developer 連線資料庫總是顯示io錯誤OracleSQLDeveloper資料庫
- Oracle 的PL/SQL語言使用OracleSQL
- pl/sql developer中關於TIMESTAMP顯示格式的疑問和學習SQLDeveloper
- 解決pl/sql developer中資料庫插入資料亂碼問題SQLDeveloper資料庫
- 呀!ASM例項起不來可咋整ASM
- PL/SQL 宣告SQL
- Oracle PL/SQLOracleSQL
- 使用profiler測試Oracle PL/SQL效能OracleSQL
- 無法連線windows例項的問題排查Windows
- 使用Eclipse連線SAP雲平臺上的HANA資料庫例項Eclipse資料庫
- pl/sql to_dateSQL
- PL/SQL 運算子SQL
- PL/SQL 條件SQL
- PL/SQL 迴圈SQL
- PL/SQL 遊標SQL
- 智慧掃描支援從MySQL例項線上抓取慢SQLMySql
- python 連線mongodb實現增刪改查例項PythonMongoDB
- JDBC連線MySQL資料庫的方法和例項JDBCMySql資料庫
- 使用Oracle SQL Developer匯入Excel資料OracleSQLDeveloperExcel