MySqlConnectionStringBuilderAllowPublicKeyRetrieval Property |
Gets or sets a boolean value that indicates if RSA public keys should be retrieved from the server.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 8.0.23
Syntaxpublic bool AllowPublicKeyRetrieval { get; set; }
Public Property AllowPublicKeyRetrieval As Boolean
Get
Set
Property Value
Type:
Boolean
RemarksThis option is only relevant when SSL is disabled. Setting this option to true in
8.0 servers that have the caching_sha2_password authentication plugin as the default plugin will
cause the connection attempt to fail if the user hasn't successfully connected to the server on a
previous occasion.
See Also