Skip to content

Commit 76e3ec4

Browse files
jdpedriekurtisvg
andauthored
Update cloud_sql/postgres/pdo/README.md
Co-authored-by: Kurtis Van Gent <[email protected]>
1 parent f003fca commit 76e3ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud_sql/postgres/pdo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Set the required environment variables for your connection to Cloud SQL. If you
5353
export DB_USER='my-db-user'
5454
export DB_PASS='my-db-pass'
5555
export DB_NAME='my-db-name'
56-
export DB_HOSTNAME='localhost'
56+
export DB_HOST='127.0.0.1'
5757
```
5858

5959
Note: Saving credentials in environment variables is convenient, but not secure - consider a more secure solution such as [Secret Manager](https://cloud.google.com/secret-manager/) to help keep secrets safe.

0 commit comments

Comments
 (0)