MySqlReplicaConfiguration
import type { MySqlReplicaConfiguration } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";
Read-replica configuration specific to MySQL databases.
interface MySqlReplicaConfiguration {
caCertificate?: string;
clientCertificate?: string;
clientKey?: string;
connectRetryInterval?: number;
dumpFilePath?: string;
kind?: string;
masterHeartbeatPeriod?: bigint;
password?: string;
sslCipher?: string;
username?: string;
verifyServerCertificate?: boolean;
}§Properties
§
clientKey?: string
[src]PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
§
connectRetryInterval?: number
[src]Seconds to wait between connect retries. MySQL's default is 60 seconds.
§
dumpFilePath?: string
[src]Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.