TiDBAccessConfig
(Appears on: BackupSpec, RestoreSpec)
TiDBAccessConfig defines the configuration for access tidb cluster
Field | Description |
---|---|
host string | Host is the tidb cluster access address |
port int32 | Port is the port number to use for connecting tidb cluster |
user string | User is the user for login tidb cluster |
secretName string | SecretName is the name of secret which stores tidb cluster’s password. |
tlsClient TiDBTLSClient | (Optional) Whether enable the TLS connection between the SQL client and TiDB server Optional: Defaults to nil |