视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
OracleGoldenGate12c新特性CredentialStoreandUSERIDALIAS
2020-11-09 12:42:31 责编:小采
文档


Oracle GoldenGate 12c 新特性 Credential Store and USERIDALIAS

--生成credentialstore文件

[Oracle@db12c ggs]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 12.1.2.0.0 17185003 OGGCORE_12.1.2.0.0_PLATFORMS_130924.1316_FBO
Linux, x, bit (optimized), Oracle 12c on Sep 25 2013 02:33:54
Operating system character set identified as UTF-8.

Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.


GGSCI (db12c) 1> add credentialstore

Credential store created in ./dircrd/.

GGSCI (db12c) 2> exit
[oracle@db12c ggs]$ cd dircrd/
[oracle@db12c dircrd]$ ls -l
total 4

-rw-r----- 1 oracle oinstall 324 Apr 8 13:26 cwallet.sso

--创建别名

GGSCI (db12c) 2> alter credentialstore add user c##ggadmin alias ggroot
Password:

Credential store in ./dircrd/ altered.


--使用别名登录

GGSCI (db12c) 2> dblogin useridalias ggroot
Successfully logged into database CDB$ROOT.


--也可以创建PDBs zhongwc1的存储别名

GGSCI (db12c) 3> alter credentialstore add user c##ggadmin@zhongwc1 alias ggzhongwc1
Password:

Credential store in ./dircrd/ altered.

GGSCI (db12c) 4> dblogin useridalias ggzhongwc1
Successfully logged into database ZHONGWC1.

GGSCI (db12c) 5> info credentialstore

Reading from ./dircrd/:

Domain: OracleGoldenGate

Alias: ggroot
Userid: c##ggadmin

Alias: ggzhongwc1
Userid: c##ggadmin@zhongwc1

下载本文
显示全文
专题