gcloud sql - create and manage Google Cloud SQL databases
gcloud sql GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
The gcloud sql command group lets you create and manage Google Cloud SQL databases.
Cloud SQL is a fully-managed database service that makes it easy to set up, maintain, manage, and administer your relational databases in the cloud.
More information on Cloud SQL can be found here: https://cloud.google.com/sql and detailed documentation can be found here: https://cloud.google.com/sql/docs/
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- backups
Provide commands for working with backups of Cloud SQL instances.
- databases
Provide commands for managing databases of Cloud SQL instances.
- export
Provide commands to export Cloud SQL instances.
- flags
Provide a command to list flags.
- import
Provides commands to import Cloud SQL instances.
- instances
Provide commands for managing Cloud SQL instances.
- operations
Provide commands for working with Cloud SQL instance operations.
- ssl
Provide commands for managing SSL certificates of Cloud SQL instances.
- ssl-certs
(DEPRECATED) Provide commands for managing SSL certificates of Cloud SQL instances.
- tiers
Provide a command to list tiers.
- users
Provide commands for managing Cloud SQL users.
COMMAND is one of the following:
- connect
Connects to a Cloud SQL instance.
- generate-login-token
Generate an IAM login token for Cloud SQL.
- reschedule-maintenance
Reschedule a Cloud SQL instance's maintenance.
These variants are also available:
$ gcloud alpha sql
$ gcloud beta sql