windows下sqlplus怎么连接远程oracle
2017-04-19 23:39
411 查看
语法:sqlplus usr/pwd@//host:port/sid
[oracle@mzl ~]$ sqlplus system/51411482@//192.168.21.11:1521/orcl
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 18 15:53:34 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
---------------- ------------
risenet OPEN
或者是
SQL> conn risenet/1@//192.168.130.99:1521/risenet
Connected.
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME HOST_NAME VERSION STARTUP_T
--------------- ---------------- --------------- ----------------- ---------
STATUS PAR THREAD# ARCHIVE LOG_SWITCH_ LOGINS SHU DATABASE_STATUS
------------ --- ---------- ------- ----------- ---------- --- -----------------
INSTANCE_ROLE ACTIVE_ST
------------------ ---------
1 risenet RISENET56 9.2.0.1.0 13-FEB-08
OPEN NO 1 STOPPED ALLOWED NO ACTIVE
PRIMARY_INSTANCE NORMAL
SQL>
[oracle@mzl ~]$ sqlplus system/51411482@//192.168.21.11:1521/orcl
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 18 15:53:34 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
---------------- ------------
risenet OPEN
或者是
SQL> conn risenet/1@//192.168.130.99:1521/risenet
Connected.
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME HOST_NAME VERSION STARTUP_T
--------------- ---------------- --------------- ----------------- ---------
STATUS PAR THREAD# ARCHIVE LOG_SWITCH_ LOGINS SHU DATABASE_STATUS
------------ --- ---------- ------- ----------- ---------- --- -----------------
INSTANCE_ROLE ACTIVE_ST
------------------ ---------
1 risenet RISENET56 9.2.0.1.0 13-FEB-08
OPEN NO 1 STOPPED ALLOWED NO ACTIVE
PRIMARY_INSTANCE NORMAL
SQL>
相关文章推荐
- sqlplus远程连接Oracle
- 用Instant Client,不安装oracle客户端使用sqlplus连接远程数据库
- 从windows客户端sqlplus连接Oracle 12c PDB报错ORA-65162: The password has expired
- sqlplus 远程连接oracle语法
- Windows远程连接Oracle服务器
- Sqldeveloper与Sqlplus连接远程数据库的一点不同(Oracle 真是坑爹啊)
- 64位操作系统在本地安装oracle数据库的情况下,怎么使用plsql连接远程或者本地的oracle数据
- Windows下Oracle 11g远程连接配置
- 本地windows下PHP连接远程oracle遇到的诸多问题
- windows下安装oracle,sqlplus连接启动oracle(oracle 主机字符串输入是什么)
- Windows 2008 R2(64位)+VS2010+ASP.net远程连接Oracle服务器(64位)
- Ubuntu使用Oracle客户端(sqlplus)远程连接Oracle数据库
- windows环境下安装连接远程oracle工具PL/SQL Developer 11.0
- Oracle远程连接sqlplus字符串
- 用Instant Client,不安装oracle客户端使用sqlplus连接远程数据库
- windows使用plsql和sqlplus连接远程linux主机的oracle数据库
- sqlplus连接远程Oracle
- windows下安装oracle 12c 并远程连接数据库
- sqlplus连接远程oracle&&sqlplus导入、导出dmp文件
- navicate连接远程oracle链接 报cannot create oci enviroment 怎么办?