- NAME
- gcloud-sql-instances - Provide commands for managing Cloud SQL instances including creating, configuring, restarting, and deleting instances.
- SYNOPSIS
-
gcloud sql instances COMMAND [--format FORMAT] [--help] [--project PROJECT] [--quiet, -q] [-h]
- FLAGS
-
-
--format
FORMAT
- Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
-
--help
- Display detailed help.
-
--project
PROJECT
- Google Cloud Platform project to use for this invocation.
-
--quiet
- Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-
-h
- Print a summary help and exit.
-
- COMMANDS
-
COMMAND
is one of the following. -
-
clone
- Clones a Cloud SQL instance.
-
create
- Creates a new Cloud SQL instance.
-
delete
- Deletes a Cloud SQL instance.
-
export
- Exports data from a Cloud SQL instance.
-
get
- Retrieves information about a Cloud SQL instance.
-
import
- Imports data into a Cloud SQL instance from Google Cloud Storage.
-
list
- Lists Cloud SQL instances in a given project.
-
patch
- Updates the settings of a Cloud SQL instance.
-
promote-replica
- Promotes Cloud SQL read replica to a stand-alone instance.
-
reset-ssl-config
- Deletes all client certificates and generates a new server certificate.
-
restart
- Restarts a Cloud SQL instance.
-
restore-backup
- Restores a backup of a Cloud SQL instance.
-
set-root-password
- Sets the password of the MySQL root user.
-
start-replica
- Starts replication in the Cloud SQL read replica instance.
-
stop-replica
- Stops replication in the Cloud SQL read replica instance.
-
gcloud sql instances
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License , and code samples are licensed under the Apache 2.0 License . For details, see our Site Policies .
Last updated August 11, 2014.