gcloud_beta_sql_users_create (1)
NAME
- gcloud beta sql users create - creates a user in a given instance
SYNOPSIS
-
gcloud beta sql users create USERNAME --instance=INSTANCE, -i INSTANCE [--async] [--host=HOST] [--password=PASSWORD] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Creates a user in a given instance with specified username, host,
POSITIONAL ARGUMENTS
-
- USERNAME
-
Cloud SQL username.
REQUIRED FLAGS
-
- --instance=INSTANCE, -i INSTANCE
-
Cloud SQL instance ID.
OPTIONAL FLAGS
-
- --async
-
Display information about the operation in progress, without waiting for the
operation to complete.
- --host=HOST
-
Cloud SQL user's host name expressed as a specific IP address or address range.
% denotes an unrestricted host name. Applicable flag for MySQL instances;
ignored for PostgreSQL instances. Note, if you connect to your instance using IP
addresses, you must add your client IP address as an Authorized Address, even if
your host name is unrestricted. For help on how to do so, read:
cloud.google.com/sql/docs/mysql/configure-ip
- --password=PASSWORD
-
Cloud SQL user's password.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in BETA and may change without notice. These variants are also available:
- $ gcloud sql users create $ gcloud alpha sql users create