MySQL can be compiled using OpenSSL or yaSSL, both of which enable encrypted connections based on the OpenSSL API:
MySQL Enterprise Edition binary distributions are compiled using yaSSL.
MySQL Community Edition binary distributions are compiled using yaSSL.
MySQL Community Edition source distributions can be compiled using either OpenSSL or yaSSL (see Section 6.4.5, “Building MySQL with Support for Encrypted Connections”).
OpenSSL and yaSSL offer the same basic functionality, but
additional features are available in MySQL distributions compiled
using OpenSSL: OpenSSL supports a wider range of encryption
ciphers from which to choose for the
--ssl-cipher option, and supports
--ssl-capath option. See
Section 6.4.2, “Command Options for Encrypted Connections”.