Skip to content

Commit d4b96ef

Browse files
committed
replace MY-DATABASE with INSTANCE-NAME
1 parent 6271041 commit d4b96ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cloud_sql/mysql/pdo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account/key.json
2020
To run the Cloud SQL proxy, you need to set the instance connection name. See the instructions [here](https://cloud.google.com/sql/docs/mysql/quickstart-proxy-test#get_the_instance_connection_name) for finding the instance connection name.
2121

2222
```bash
23-
export CLOUD_SQL_CONNECTION_NAME='::<MY-DATABASE>'
23+
export CLOUD_SQL_CONNECTION_NAME='::<INSTANCE-NAME>'
2424
```
2525

2626
Once the proxy is ready, use one of the following commands to start the proxy in the background.

cloud_sql/mysql/pdo/app.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ env: flex
1919
# something like https://cloud.google.com/secret-manager/ to help keep secrets
2020
# secret.
2121
env_variables:
22-
CLOUD_SQL_CONNECTION_NAME: "::<MY-DATABASE>"
22+
CLOUD_SQL_CONNECTION_NAME: "::<INSTANCE-NAME>"
2323
DB_USER: my-db-user
2424
DB_PASS: my-db-pass
2525
DB_NAME: my-db
2626

2727
beta_settings:
28-
cloud_sql_instances: "::<MY-DATABASE>"
28+
cloud_sql_instances: "::<INSTANCE-NAME>"
2929

3030
runtime_config:
3131
document_root: .

0 commit comments

Comments
 (0)