Skip to content

Commit e120c05

Browse files
docs: make env vars copy/paste-able (#51)
Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
1 parent 8f47e6f commit e120c05

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-mys
4848
Set the following environment variables before starting the Gemini CLI. These variables can be loaded from a `.env` file.
4949
This configuration is not required if utilizing the [Admin toolset](#supported-tools).
5050

51-
* `CLOUD_SQL_MYSQL_PROJECT`: The GCP project ID.
52-
* `CLOUD_SQL_MYSQL_REGION`: The region of your Cloud SQL instance.
53-
* `CLOUD_SQL_MYSQL_INSTANCE`: The ID of your Cloud SQL instance.
54-
* `CLOUD_SQL_MYSQL_DATABASE`: The name of the database to connect to.
55-
* `CLOUD_SQL_MYSQL_USER`: The database username.
56-
* `CLOUD_SQL_MYSQL_PASSWORD`: The password for the database user.
57-
* `CLOUD_SQL_MYSQL_IP_TYPE`: (Optional) The IP type i.e. “Public”, “Private”, or "PSC" (Default: Public).
51+
```bash
52+
export CLOUD_SQL_MYSQL_PROJECT="<your-gcp-project-id>"
53+
export CLOUD_SQL_MYSQL_REGION="<your-cloud-sql-region>"
54+
export CLOUD_SQL_MYSQL_INSTANCE="<your-cloud-sql-instance-id>"
55+
export CLOUD_SQL_MYSQL_DATABASE="<your-database-name>"
56+
export CLOUD_SQL_MYSQL_USER="<your-database-user>"
57+
export CLOUD_SQL_MYSQL_PASSWORD="<your-database-password>"
58+
export CLOUD_SQL_MYSQL_IP_TYPE="PUBLIC" # Optional: `PUBLIC`, `PRIVATE`, `PSC`. Defaults to `PUBLIC`.
59+
```
5860

5961
Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
6062

0 commit comments

Comments
 (0)