mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Tue Nov 18 10:53:36 UTC 2025
This commit is contained in:
parent
4b21ae6795
commit
e1ec13485a
380 changed files with 16045 additions and 783 deletions
|
|
@ -3,8 +3,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta sql connect INSTANCE [--database=DATABASE, -d DATABASE]
|
||||
[--port=PORT; default=9470] [--user=USER, -u USER]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--debug-logs] [--port=PORT; default=9470] [--run-connection-test]
|
||||
[--skip-ssl] [--auto-iam-authn | --user=USER, -u USER]
|
||||
[--auto-ip | --private-ip | --psc] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Connects to a Cloud SQL instance.
|
||||
|
|
@ -22,12 +23,42 @@ FLAGS
|
|||
--database=DATABASE, -d DATABASE
|
||||
The PostgreSQL or SQL Server database to connect to.
|
||||
|
||||
--debug-logs
|
||||
Enable verbose debug logs for Cloud SQL Proxy.
|
||||
|
||||
--port=PORT; default=9470
|
||||
Port number that gcloud will use to connect to the Cloud SQL Proxy
|
||||
through localhost.
|
||||
|
||||
--user=USER, -u USER
|
||||
Cloud SQL instance user to connect as.
|
||||
--run-connection-test
|
||||
Run connection test for Cloud SQL Proxy.
|
||||
|
||||
--skip-ssl
|
||||
Skip SSL certificate verification for MySQL instances.
|
||||
|
||||
User selection settings for Cloud SQL Proxy connection.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--auto-iam-authn
|
||||
Enables IAM database authentication for connections to MySQL and
|
||||
Postgres instances.
|
||||
|
||||
--user=USER, -u USER
|
||||
Cloud SQL instance user to connect as.
|
||||
|
||||
IP address selection settings for Cloud SQL Proxy connection.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--auto-ip
|
||||
Connect to the Cloud SQL instance with auto IP detection.
|
||||
|
||||
--private-ip
|
||||
Connect to the Cloud SQL instance using private IP.
|
||||
|
||||
--psc
|
||||
Connect to the Cloud SQL instance using Private Service Connect.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue