MySQL can be compiled using OpenSSL or yaSSL, both of which enable secure conections 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.2, “Building MySQL with Support for Secure 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
the --ssl-capath option. See
Section 6.4.5, “Command Options for Secure Connections”.