a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 262|回复: 0

[综合] Oracle认证Rman连接到目标数据库的方式

[复制链接]
发表于 2012-8-4 13:54:49 | 显示全部楼层 |阅读模式
Oracle认证Rman连接到目标数据库的方式
! v- P- ]& @* `$ xRman连接到目标数据库的几种方式
# E9 y" e1 }. n4 W. d1. windows下连接+ W1 s: i$ b: Y
第一种方式 set ORACLE_SID=目标数据库SID
" e$ l$ @( R/ L7 t6 P$ o8 Prman target sys/change_on_install
, i/ q& c; [" l* C) k$ l% [第二种方式 rman target sys/change_on_install@目标数据库网络服务名或连接字符串
, Q6 V; y6 G* V5 ^/ z! _4 c2.unix 下连接# O) t( {9 Q; N7 d
第一种方式 ORACLE_SID=目标数据库SID' U& N. q1 G1 F! P" t2 n
Export ORCLE_SID9 T( B; u( G! ]0 P# S$ P! M
rman target sys/change_on_install
, }0 T) \: u- G; ]第二种方式 rman target sys/change_on_install@目标数据库网络服务名或连接字符串
3 l! N+ I4 `1 V& a- q如果启动了RMAN,但是发现没有连接到正确的数据库,或者要连接到不同的数据库,可以用CONNECT。例如
- J/ h9 d3 y' URMAN》CONNECT TARGET SYS/PWD@TESTDB;! _3 y3 I. [" n8 r
RMAN》CONNECT CATALOG RMAN/RMAN@CATALOGDB;
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-14 15:48 , Processed in 0.238779 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表