You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cloud_sql/postgres/pdo/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Set the required environment variables for your connection to Cloud SQL. If you
53
53
export DB_USER='my-db-user'
54
54
export DB_PASS='my-db-pass'
55
55
export DB_NAME='my-db-name'
56
-
exportDB_HOSTNAME='localhost'
56
+
exportDB_HOST='127.0.0.1'
57
57
```
58
58
59
59
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