Skip to content

Commit

Permalink
Update migration-guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom authored Nov 9, 2023
1 parent bab6f65 commit 7e8896b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ but recognize in some legacy environments `--auto-ip` may be necessary.
In v1 it was possible to do this:

``` shell
export INSTANCES="<INSTANCE_CONNECTION_NAME_1>=tcp:3307,<INSTANCE_CONNECTION_NAME_2>=tcp:5432"
export INSTANCES="<INSTANCE_CONNECTION_NAME_1>=tcp:3306,<INSTANCE_CONNECTION_NAME_2>=tcp:5432"

./cloud_sql_proxy
```
Expand All @@ -108,7 +108,7 @@ All flags can be set with an environment variable including instance connection
For example, in v2 this is possible:

```
export CSQL_PROXY_INSTANCE_CONNECTION_NAME_0="<INSTANCE_CONNECTION_NAME_1>?port=3307"
export CSQL_PROXY_INSTANCE_CONNECTION_NAME_0="<INSTANCE_CONNECTION_NAME_1>?port=3306"
export CSQL_PROXY_INSTANCE_CONNECTION_NAME_1="<INSTANCE_CONNECTION_NAME_2>?port=5342"
export CSQL_PROXY_AUTO_IAM_AUTHN=true
Expand Down

0 comments on commit 7e8896b

Please sign in to comment.