@@ -22,12 +22,25 @@ MySqlConnector has some different default connection string options:
22
22
<th style="width:20%">Oracle's Connector/NET</th>
23
23
<th style="width:40%">Notes</th>
24
24
</thead >
25
+ <tr >
26
+ <td><code>AllowPublicKeyRetrieval</code></td>
27
+ <td>Default is <code>false</code></td>
28
+ <td>(not configurable)</td>
29
+ <td>When using <code>sha256_password</code> authentication, this option allows the RSA public key to be retrieved from the server
30
+ (when not using a secure connection). It's <code>false</code> by default to avoid disclosing the password to a malicious proxy.</td>
31
+ </tr >
25
32
<tr >
26
33
<td><code>ConnectionReset</code></td>
27
34
<td>Default is <code>true</code></td>
28
35
<td>Default is <code>false</code></td>
29
36
<td>MySqlConnector takes an extra command to reset pooled connections by default so that the connection is always in a known state</td>
30
37
</tr >
38
+ <tr >
39
+ <td><code>ServerRSAPublicKeyFile</code></td>
40
+ <td>(no default)</td>
41
+ <td>(not configurable)</td>
42
+ <td>Specify the server's RSA public key to allow <code>sha256_password</code> authentication over an insecure connection.</td>
43
+ </tr >
31
44
<tr >
32
45
<td><code>UseAffectedRows</code></td>
33
46
<td>Default is <code>true</code></td>
@@ -37,7 +50,7 @@ MySqlConnector has some different default connection string options:
37
50
</table >
38
51
39
52
Some command line options that are supported in Connector/NET are not supported in MySqlConnector. For a full list of options that are
40
- supported in MySqlConnector, see the [ Connection Options] ( connection-options )
53
+ supported in MySqlConnector, see the [ Connection Options] ( connection-options ) .
41
54
42
55
### TransactionScope
43
56
0 commit comments