MySQL Target Connector CLI Configuration
This topic contains the parameters for adding MSSQL target applications and target accounts:
capam32
This topic contains the parameters for adding MSSQL target applications and target accounts:
2
MySQL Target Application CLI Parameters
To add a MySQL target application and connector using the CLI, use the addTargetApplication command and the following command parameters:
TargetApplication.type
The target application connector type.
Required | Default Value | Valid Values |
|---|---|---|
yes | N/A | MySQL |
Attribute.port
The target application port.
Required | Default Value | Valid Values |
|---|---|---|
yes | 3306 | 0-65535 |
MySQL Target Account CLI Parameters
To add a MSSQL target account that uses the target connector, use the addTargetAccount command and the following command parameters:
Attribute.schema
The name of the database schema to which the account belongs.
Required | Default Value | Valid Values |
|---|---|---|
yes | N/A | String |
Attribute.useOtherAccountToChangePassword
Specifies whether to use the target account or a different account to perform password change requests.
Required | Default Value | Valid Values |
|---|---|---|
yes | N/A | true, false |
Attribute.otherAccount
Specifies which other account to use to perform password change requests.
Required | Default Value | Valid Values |
|---|---|---|
yes if Attribute.useOtherAccountToChangePassword is true. | N/A | A valid target account ID. |
Attribute.hostNameQualifier
Specifies which other account to use to perform password change requests.
Required | Default Value | Valid Values |
|---|---|---|
yes if Attribute.useOtherAccountToChangePassword is true. | MySQL wildcard (%) | A valid target account ID. |
MySQL CLI Example
cmdName=addTargetApplication TargetServer.hostName=myhostname.mydomain.com TargetApplication.name=MySQL01TargetApplication.type=MySQL Attribute.extensionType=MySQL Attribute.port=3306 cmdName=addTargetAccount TargetServer.hostName=myhostname.mydomain.com TargetApplication.name=MySQL01TargetAccount.userName=admin TargetAccount.password=p@ssw0rd TargetAccount.cacheAllow=true TargetAccount.cacheDuration=21Attribute.extensionType=MySQL Attribute.useOtherAccountToChangePassword=false