File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ services:
104104 myapp :
105105 image : myapp:latest
106106 environment :
107- ConnectionStrings__DefaultConnection : " Server=mysql-auto-db-proxy;Port=3308;Database=myapp;User Id=root;Password=password;SslMode=none;"
107+ ConnectionStrings__DefaultConnection : " Server=mysql-auto-db-proxy;Port=3308;Database=myapp;User Id=root;Password=password;SslMode=none;AllowPublicKeyRetrieval=true; "
108108 depends_on :
109109 - mysql-auto-db-proxy
110110 networks :
@@ -129,7 +129,7 @@ The MySQL Auto DB Proxy is fully compatible with Entity Framework Core and suppo
129129
130130` ` ` csharp
131131// In appsettings.json or environment variable
132- " ConnectionStrings__DefaultConnection " : " Server=mysql-auto-db-proxy;Port=3308;Database=myapp;User Id=root;Password=password;SslMode=none;"
132+ " ConnectionStrings__DefaultConnection " : " Server=mysql-auto-db-proxy;Port=3308;Database=myapp;User Id=root;Password=password;SslMode=none;AllowPublicKeyRetrieval=true; "
133133` ` `
134134
135135### Important Connection String Parameters
@@ -142,6 +142,7 @@ The MySQL Auto DB Proxy is fully compatible with Entity Framework Core and suppo
142142| `User Id` | `root` | MySQL username |
143143| `Password` | `your_password` | MySQL password |
144144| `SslMode` | `none` | **Required** - SSL must be disabled |
145+ | `AllowPublicKeyRetrieval` | `true` | **Required** - Allows client to request public key from server |
145146
146147# ## Automatic Database Creation
147148
You can’t perform that action at this time.
0 commit comments