|
| 1 | +Usage of mysqlctl: |
| 2 | + --alsologtostderr |
| 3 | + log to standard error as well as files |
| 4 | + --app_idle_timeout duration |
| 5 | + Idle timeout for app connections (default 1m0s) |
| 6 | + --app_pool_size int |
| 7 | + Size of the connection pool for app connections (default 40) |
| 8 | + --backup_engine_implementation string |
| 9 | + Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default builtin) |
| 10 | + --backup_storage_block_size int |
| 11 | + if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000) |
| 12 | + --backup_storage_compress |
| 13 | + if set, the backup files will be compressed (default is true). Set to false for instance if a backup_storage_hook is specified and it compresses the data. (default true) |
| 14 | + --backup_storage_hook string |
| 15 | + if set, we send the contents of the backup files through this hook. |
| 16 | + --backup_storage_implementation string |
| 17 | + which implementation to use for the backup storage feature |
| 18 | + --backup_storage_number_blocks int |
| 19 | + if backup_storage_compress is true, backup_storage_number_blocks sets the number of blocks that can be processed, at once, before the writer blocks, during compression (default is 2). It should be equal to the number of CPUs available for compression (default 2) |
| 20 | + --builtinbackup_mysqld_timeout duration |
| 21 | + how long to wait for mysqld to shutdown at the start of the backup (default 10m0s) |
| 22 | + --builtinbackup_progress duration |
| 23 | + how often to send progress updates when backing up large files (default 5s) |
| 24 | + --catch-sigpipe |
| 25 | + catch and ignore SIGPIPE on stdout and stderr if specified |
| 26 | + --cpu_profile string |
| 27 | + deprecated: use '-pprof=cpu' instead |
| 28 | + --datadog-agent-host string |
| 29 | + host to send spans to. if empty, no tracing will be done |
| 30 | + --datadog-agent-port string |
| 31 | + port to send spans to. if empty, no tracing will be done |
| 32 | + --db-config-dba-charset string |
| 33 | + deprecated: use db_charset (default utf8mb4) |
| 34 | + --db-config-dba-flags uint |
| 35 | + deprecated: use db_flags |
| 36 | + --db-config-dba-flavor string |
| 37 | + deprecated: use db_flavor |
| 38 | + --db-config-dba-host string |
| 39 | + deprecated: use db_host |
| 40 | + --db-config-dba-pass string |
| 41 | + db dba deprecated: use db_dba_password |
| 42 | + --db-config-dba-port int |
| 43 | + deprecated: use db_port |
| 44 | + --db-config-dba-server_name string |
| 45 | + deprecated: use db_server_name |
| 46 | + --db-config-dba-ssl-ca string |
| 47 | + deprecated: use db_ssl_ca |
| 48 | + --db-config-dba-ssl-ca-path string |
| 49 | + deprecated: use db_ssl_ca_path |
| 50 | + --db-config-dba-ssl-cert string |
| 51 | + deprecated: use db_ssl_cert |
| 52 | + --db-config-dba-ssl-key string |
| 53 | + deprecated: use db_ssl_key |
| 54 | + --db-config-dba-uname string |
| 55 | + deprecated: use db_dba_user (default vt_dba) |
| 56 | + --db-config-dba-unixsocket string |
| 57 | + deprecated: use db_socket |
| 58 | + --db-credentials-file string |
| 59 | + db credentials file; send SIGHUP to reload this file |
| 60 | + --db-credentials-server string |
| 61 | + db credentials server type ('file' - file implementation; 'vault' - HashiCorp Vault implementation) (default file) |
| 62 | + --db-credentials-vault-addr string |
| 63 | + URL to Vault server |
| 64 | + --db-credentials-vault-path string |
| 65 | + Vault path to credentials JSON blob, e.g.: secret/data/prod/dbcreds |
| 66 | + --db-credentials-vault-role-mountpoint string |
| 67 | + Vault AppRole mountpoint; can also be passed using VAULT_MOUNTPOINT environment variable (default approle) |
| 68 | + --db-credentials-vault-role-secretidfile string |
| 69 | + Path to file containing Vault AppRole secret_id; can also be passed using VAULT_SECRETID environment variable |
| 70 | + --db-credentials-vault-roleid string |
| 71 | + Vault AppRole id; can also be passed using VAULT_ROLEID environment variable |
| 72 | + --db-credentials-vault-timeout duration |
| 73 | + Timeout for vault API operations (default 10s) |
| 74 | + --db-credentials-vault-tls-ca string |
| 75 | + Path to CA PEM for validating Vault server certificate |
| 76 | + --db-credentials-vault-tokenfile string |
| 77 | + Path to file containing Vault auth token; token can also be passed using VAULT_TOKEN environment variable |
| 78 | + --db-credentials-vault-ttl duration |
| 79 | + How long to cache DB credentials from the Vault server (default 30m0s) |
| 80 | + --db_charset string |
| 81 | + Character set used for this tablet. (default utf8mb4) |
| 82 | + --db_conn_query_info |
| 83 | + enable parsing and processing of QUERY_OK info fields |
| 84 | + --db_connect_timeout_ms int |
| 85 | + connection timeout to mysqld in milliseconds (0 for no timeout) |
| 86 | + --db_dba_password string |
| 87 | + db dba password |
| 88 | + --db_dba_use_ssl |
| 89 | + Set this flag to false to make the dba connection to not use ssl (default true) |
| 90 | + --db_dba_user string |
| 91 | + db dba user userKey (default vt_dba) |
| 92 | + --db_flags uint |
| 93 | + Flag values as defined by MySQL. |
| 94 | + --db_flavor string |
| 95 | + Flavor overrid. Valid value is FilePos. |
| 96 | + --db_host string |
| 97 | + The host name for the tcp connection. |
| 98 | + --db_port int |
| 99 | + tcp port |
| 100 | + --db_server_name string |
| 101 | + server name of the DB we are connecting to. |
| 102 | + --db_socket string |
| 103 | + The unix socket to connect on. If this is specified, host and port will not be used. |
| 104 | + --db_ssl_ca string |
| 105 | + connection ssl ca |
| 106 | + --db_ssl_ca_path string |
| 107 | + connection ssl ca path |
| 108 | + --db_ssl_cert string |
| 109 | + connection ssl certificate |
| 110 | + --db_ssl_key string |
| 111 | + connection ssl key |
| 112 | + --db_ssl_mode value |
| 113 | + SSL mode to connect with. One of disabled, preferred, required, verify_ca & verify_identity. |
| 114 | + --db_tls_min_version string |
| 115 | + Configures the minimal TLS version negotiated when SSL is enabled. Defaults to TLSv1.2. Options: TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3. |
| 116 | + --dba_idle_timeout duration |
| 117 | + Idle timeout for dba connections (default 1m0s) |
| 118 | + --dba_pool_size int |
| 119 | + Size of the connection pool for dba connections (default 20) |
| 120 | + --disable_active_reparents |
| 121 | + if set, do not allow active reparents. Use this to protect a cluster using external reparents. |
| 122 | + --emit_stats |
| 123 | + If set, emit stats to push-based monitoring and stats backends |
| 124 | + --grpc_auth_mode string |
| 125 | + Which auth plugin implementation to use (eg: static) |
| 126 | + --grpc_auth_mtls_allowed_substrings string |
| 127 | + List of substrings of at least one of the client certificate names (separated by colon). |
| 128 | + --grpc_auth_static_client_creds string |
| 129 | + when using grpc_static_auth in the server, this file provides the credentials to use to authenticate with server |
| 130 | + --grpc_auth_static_password_file string |
| 131 | + JSON File to read the users/passwords from. |
| 132 | + --grpc_ca string |
| 133 | + server CA to use for gRPC connections, requires TLS, and enforces client certificate check |
| 134 | + --grpc_cert string |
| 135 | + server certificate to use for gRPC connections, requires grpc_key, enables TLS |
| 136 | + --grpc_compression string |
| 137 | + Which protocol to use for compressing gRPC. Default: nothing. Supported: snappy |
| 138 | + --grpc_crl string |
| 139 | + path to a certificate revocation list in PEM format, client certificates will be further verified against this file during TLS handshake |
| 140 | + --grpc_enable_optional_tls |
| 141 | + enable optional TLS mode when a server accepts both TLS and plain-text connections on the same port |
| 142 | + --grpc_enable_tracing |
| 143 | + Enable GRPC tracing |
| 144 | + --grpc_initial_conn_window_size int |
| 145 | + gRPC initial connection window size |
| 146 | + --grpc_initial_window_size int |
| 147 | + gRPC initial window size |
| 148 | + --grpc_keepalive_time duration |
| 149 | + After a duration of this time, if the client doesn't see any activity, it pings the server to see if the transport is still alive. (default 10s) |
| 150 | + --grpc_keepalive_timeout duration |
| 151 | + After having pinged for keepalive check, the client waits for a duration of Timeout and if no activity is seen even after that the connection is closed. (default 10s) |
| 152 | + --grpc_key string |
| 153 | + server private key to use for gRPC connections, requires grpc_cert, enables TLS |
| 154 | + --grpc_max_connection_age duration |
| 155 | + Maximum age of a client connection before GoAway is sent. (default 2562047h47m16.854775807s) |
| 156 | + --grpc_max_connection_age_grace duration |
| 157 | + Additional grace period after grpc_max_connection_age, after which connections are forcibly closed. (default 2562047h47m16.854775807s) |
| 158 | + --grpc_max_message_size int |
| 159 | + Maximum allowed RPC message size. Larger messages will be rejected by gRPC with the error 'exceeding the max size'. (default 16777216) |
| 160 | + --grpc_port int |
| 161 | + Port to listen on for gRPC calls |
| 162 | + --grpc_prometheus |
| 163 | + Enable gRPC monitoring with Prometheus |
| 164 | + --grpc_server_ca string |
| 165 | + path to server CA in PEM format, which will be combine with server cert, return full certificate chain to clients |
| 166 | + --grpc_server_initial_conn_window_size int |
| 167 | + gRPC server initial connection window size |
| 168 | + --grpc_server_initial_window_size int |
| 169 | + gRPC server initial window size |
| 170 | + --grpc_server_keepalive_enforcement_policy_min_time duration |
| 171 | + gRPC server minimum keepalive time (default 10s) |
| 172 | + --grpc_server_keepalive_enforcement_policy_permit_without_stream |
| 173 | + gRPC server permit client keepalive pings even when there are no active streams (RPCs) |
| 174 | + --jaeger-agent-host string |
| 175 | + host and port to send spans to. if empty, no tracing will be done |
| 176 | + --keep_logs duration |
| 177 | + keep logs for this long (using ctime) (zero to keep forever) |
| 178 | + --keep_logs_by_mtime duration |
| 179 | + keep logs for this long (using mtime) (zero to keep forever) |
| 180 | + --lameduck-period duration |
| 181 | + keep running at least this long after SIGTERM before stopping (default 50ms) |
| 182 | + --log_backtrace_at value |
| 183 | + when logging hits line file:N, emit a stack trace |
| 184 | + --log_dir string |
| 185 | + If non-empty, write log files in this directory |
| 186 | + --log_err_stacks |
| 187 | + log stack traces for errors |
| 188 | + --log_rotate_max_size uint |
| 189 | + size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800) |
| 190 | + --logtostderr |
| 191 | + log to standard error instead of files |
| 192 | + --master_connect_retry duration |
| 193 | + Deprecated, use -replication_connect_retry (default 10s) |
| 194 | + --mem-profile-rate int |
| 195 | + deprecated: use '-pprof=mem' instead (default 524288) |
| 196 | + --mutex-profile-fraction int |
| 197 | + deprecated: use '-pprof=mutex' instead |
| 198 | + --mysql_auth_server_static_file string |
| 199 | + JSON File to read the users/passwords from. |
| 200 | + --mysql_auth_server_static_string string |
| 201 | + JSON representation of the users/passwords config. |
| 202 | + --mysql_auth_static_reload_interval duration |
| 203 | + Ticker to reload credentials |
| 204 | + --mysql_clientcert_auth_method string |
| 205 | + client-side authentication method to use. Supported values: mysql_clear_password, dialog. (default mysql_clear_password) |
| 206 | + --mysql_port int |
| 207 | + mysql port (default 3306) |
| 208 | + --mysql_server_flush_delay duration |
| 209 | + Delay after which buffered response will be flushed to the client. (default 100ms) |
| 210 | + --mysql_server_version string |
| 211 | + MySQL server version to advertise. |
| 212 | + --mysql_socket string |
| 213 | + path to the mysql socket |
| 214 | + --mysqlctl_client_protocol string |
| 215 | + the protocol to use to talk to the mysqlctl server (default grpc) |
| 216 | + --mysqlctl_mycnf_template string |
| 217 | + template file to use for generating the my.cnf file during server init |
| 218 | + --mysqlctl_socket string |
| 219 | + socket file to use for remote mysqlctl actions (empty for local actions) |
| 220 | + --onclose_timeout duration |
| 221 | + wait no more than this for OnClose handlers before stopping (default 1ns) |
| 222 | + --onterm_timeout duration |
| 223 | + wait no more than this for OnTermSync handlers before stopping (default 10s) |
| 224 | + --pid_file string |
| 225 | + If set, the process will write its pid to the named file, and delete it on graceful shutdown. |
| 226 | + --pool_hostname_resolve_interval duration |
| 227 | + if set force an update to all hostnames and reconnect if changed, defaults to 0 (disabled) |
| 228 | + --port int |
| 229 | + vttablet port (default 6612) |
| 230 | + --pprof string |
| 231 | + enable profiling |
| 232 | + --purge_logs_interval duration |
| 233 | + how often try to remove old logs (default 1h0m0s) |
| 234 | + --remote_operation_timeout duration |
| 235 | + time to wait for a remote operation (default 30s) |
| 236 | + --replication_connect_retry duration |
| 237 | + how long to wait in between replica reconnect attempts. Only precise to the second. (default 10s) |
| 238 | + --security_policy string |
| 239 | + the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only) |
| 240 | + --service_map value |
| 241 | + comma separated list of services to enable (or disable if prefixed with '-') Example: grpc-vtworker |
| 242 | + --sql-max-length-errors int |
| 243 | + truncate queries in error logs to the given length (default unlimited) |
| 244 | + --sql-max-length-ui int |
| 245 | + truncate queries in debug UIs to the given length (default 512) (default 512) |
| 246 | + --stats_backend string |
| 247 | + The name of the registered push-based monitoring/stats backend to use |
| 248 | + --stats_combine_dimensions string |
| 249 | + List of dimensions to be combined into a single "all" value in exported stats vars |
| 250 | + --stats_common_tags string |
| 251 | + Comma-separated list of common tags for the stats backend. It provides both label and values. Example: label1:value1,label2:value2 |
| 252 | + --stats_drop_variables string |
| 253 | + Variables to be dropped from the list of exported variables. |
| 254 | + --stats_emit_period duration |
| 255 | + Interval between emitting stats to all registered backends (default 1m0s) |
| 256 | + --stderrthreshold value |
| 257 | + logs at or above this threshold go to stderr (default 1) |
| 258 | + --tablet_dir string |
| 259 | + The directory within the vtdataroot to store vttablet/mysql files. Defaults to being generated by the tablet uid. |
| 260 | + --tablet_manager_protocol string |
| 261 | + the protocol to use to talk to vttablet (default grpc) |
| 262 | + --tablet_uid uint |
| 263 | + tablet uid (default 41983) |
| 264 | + --topo_global_root string |
| 265 | + the path of the global topology data in the global topology server |
| 266 | + --topo_global_server_address string |
| 267 | + the address of the global topology server |
| 268 | + --topo_implementation string |
| 269 | + the topology implementation to use |
| 270 | + --tracer string |
| 271 | + tracing service to use (default noop) |
| 272 | + --tracing-enable-logging |
| 273 | + whether to enable logging in the tracing service |
| 274 | + --tracing-sampling-rate value |
| 275 | + sampling rate for the probabilistic jaeger sampler (default 0.1) |
| 276 | + --tracing-sampling-type value |
| 277 | + sampling strategy to use for jaeger. possible values are 'const', 'probabilistic', 'rateLimiting', or 'remote' (default const) |
| 278 | + --v value |
| 279 | + log level for V logs |
| 280 | + --version |
| 281 | + print binary version |
| 282 | + --vmodule value |
| 283 | + comma-separated list of pattern=N settings for file-filtered logging |
| 284 | + --xbstream_restore_flags string |
| 285 | + flags to pass to xbstream command during restore. These should be space separated and will be added to the end of the command. These need to match the ones used for backup e.g. --compress / --decompress, --encrypt / --decrypt |
| 286 | + --xtrabackup_backup_flags string |
| 287 | + flags to pass to backup command. These should be space separated and will be added to the end of the command |
| 288 | + --xtrabackup_prepare_flags string |
| 289 | + flags to pass to prepare command. These should be space separated and will be added to the end of the command |
| 290 | + --xtrabackup_root_path string |
| 291 | + directory location of the xtrabackup and xbstream executables, e.g., /usr/bin |
| 292 | + --xtrabackup_stream_mode string |
| 293 | + which mode to use if streaming, valid values are tar and xbstream (default tar) |
| 294 | + --xtrabackup_stripe_block_size uint |
| 295 | + Size in bytes of each block that gets sent to a given stripe before rotating to the next stripe (default 102400) |
| 296 | + --xtrabackup_stripes uint |
| 297 | + If greater than 0, use data striping across this many destination files to parallelize data transfer and decompression |
| 298 | + --xtrabackup_user string |
| 299 | + User that xtrabackup will use to connect to the database server. This user must have all necessary privileges. For details, please refer to xtrabackup documentation. |
0 commit comments