- NAME
-
- gcloud sql users - provide commands for managing Cloud SQL users
- SYNOPSIS
-
-
gcloud sql usersCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Provide commands for managing Cloud SQL users including creating, listing, and deleting users.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMAND-
assign-roles - Updates a user's database roles in a given instance.
-
create - Creates a user in a given instance.
-
delete - Deletes a Cloud SQL user in a given instance.
-
describe - Retrieves information about a Cloud SQL user in a given instance.
-
list - Lists Cloud SQL users in a given instance.
-
set-password - Changes a user's password in a given instance.
-
set-password-policy - Replaces a user's password policy in a given instance.
-
- NOTES
- These variants are also available:
gcloud alpha sql usersgcloud beta sql users
gcloud sql users
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

