MySQLAuthenticationPlugin
Name |
Description |
Default authentication plugin, the client will firstly try to use the plugin name provided by the server. |
|
Authentication plugin which enables the client to send password to the server as cleartext without encryption. |
|
Authentication plugin which uses SHA-1 hash function to scramble the password and send it to the server. |
|
Authentication plugin which uses SHA-256 hash function to scramble the password and send it to the server. |
|
Like |
MySQLSetOption
SslMode
Name |
Description |
establish an unencrypted connection. |
|
establish an encrypted connection if the server supports encrypted connections, falling back to an unencrypted connection if an encrypted connection cannot be established. |
|
establish an encrypted connection if the server supports encrypted connections. The connection attempt fails if an encrypted connection cannot be established. |
|
Like REQUIRED, but additionally verify the server Certificate Authority (CA) certificate against the configured CA certificates. The connection attempt fails if no valid matching CA certificates are found. |
|
Like VERIFY_CA, but additionally perform host name identity verification by checking the host name the client uses for connecting to the server against the identity in the certificate that the server sends to the client. |