MININGDBLOGIN
Use MININGDBLOGIN to establish a connection to a downstream
Oracle database logmining server in preparation to issue other Oracle GoldenGate
commands that affect this database, such as REGISTER EXTRACT.
To log into a source Oracle Database that serves as the database logmining
server, use the DBLOGIN command. MININGDBLOGIN is
reserved for login to a downstream mining database.
The user who issues MININGDBLOGIN must:
-
have privileges granted through the Oracle
dbms_goldengate_auth.grant_admin_privilegeprocedure. -
be the user that is specified with the
TRANLOGOPTIONS MININGUSERparameter for the Extract group that is associated with thisMININGDBLOGIN.
GGSCI Syntax
MININGDBLOGIN {
USERID {/ | userid}[, PASSWORD password]
[algorithm ENCRYPTKEY {keyname | DEFAULT}] |
USERIDALIAS alias [DOMAIN domain] |
[SYSDBA]
}
-
USERID -
Supplies a database login credential. Can be used if an Oracle GoldenGate credential store is not in use. (See the
USERIDALIASoption.) Input varies, depending on the database, as follows:-
userid -
Specifies the name of a database user or a SQL*Net connect string. To log into a pluggable database in an Oracle multitenant container database, specify
useridas a connect string, such asoggadmin@orcl. To log into the root container, specifyuseridas a common user, including the c## prefix, such asc##ggadmin@ggnorth. -
/ -
The
NOPASSWORDoption is the alternative to thePASSWORDoption when using external authentication because password is not required for external authentication such as using Kerberos authentication. After theNOPASSWORDoption is set, theMININGDBLOGINcommand can be used to access the database without a password.(Oracle) Directs Oracle GoldenGate to use an operating-system login for Oracle, not a database user login. Use this argument only if the database allows authentication at the operating-system level. To use this option, the correct user name must exist in the database, in relation to the value of the Oracle
OS_AUTHENT_PREFIXinitialization parameter, see theUSERID | NOUSERIDparameter. -
NOPASSWORD | PASSWORDpassword -
The
NOPASSWORDoption is the alternative to thePASSWORDoption when using external authentication because password is not required for external authentication such as using Kerberos authentication. After theNOPASSWORDoption is set, theDBLOGINcommand can be used to access the database without a password.Use when authentication is required to specify the password for the database user. If the password was encrypted by means of the
ENCRYPT PASSWORDcommand, supply the encrypted password; otherwise, supply the clear-text password. If the password is case-sensitive, type it that way.If the
PASSWORDclause is omitted, you are prompted for a password, and the password is not echoed. -
algorithm -
If the password was encrypted with the
ENCRYPT PASSWORDcommand, specify the encryption algorithm that was used:AES128AES192AES256 -
ENCRYPTKEY {keyname| DEFAULT} -
Specifies the encryption key that was specified with
the ENCRYPT PASSWORD command. Use one of the following:-
ENCRYPTKEYkeyname -
Specifies the logical name of a user-created encryption key in the
ENCKEYSlookup file. Use ifENCRYPT PASSWORDwas used with theKEYNAMEkeynameoption. -
ENCRYPTKEY DEFAULT -
Directs Oracle GoldenGate to generate a Blowfish key. Use if the
ENCRYPT PASSWORDcommand was used with theKEYNAME DEFAULToption.
-
-
-
USERIDALIASalias[DOMAINdomain] -
Supplies the alias of a database login credential. Can be used instead of the
USERIDoption if there is a local Oracle GoldenGate credential store that contains a credential with the required privileges for thisMININGDBLOGINcommand.To log into a pluggable database in an Oracle multitenant container database, the user must be stored as a connect string, such as
OGGUSER@FINANCE. To log into the root container, the user must be stored as a common user, including the c## prefix, such asc##ggadmin@ggnorth.-
alias -
Specifies the alias of a database user credential that is stored in the Oracle GoldenGate credential store. The user that is specified with
USERIDALIASmust be the common database user. -
DOMAINdomain -
Specifies the credential store domain for the specified alias. A valid domain entry must exist in the credential store for the specified alias.
-
-
SYSDBA -
(Oracle) Specifies that the user logs in as
sysdba. This option can be used forUSERIDandUSERIDALIAS.