MySQL 8.0 Release Notes
file and respects the preference to use a FIPS provider, if one is set. OpenSSL 3.0 is certified for use
with FIPS.
To favor the OpenSSL alternative, the ssl_fips_mode server system variable, --ssl-fips-
mode client option, and the MYSQL_OPT_SSL_FIPS_MODE option now are deprecated and subject
to removal in a future version of MySQL. A deprecation warning prints to standard error output when
an application uses the MYSQL_OPT_SSL_FIPS_MODE option or when a client user specifies the --
ssl-fips-mode option on the command line, through option files, or both.
Prior to being deprecated, the ssl_fips_mode server-side system variable was dynamically
settable. It is now a read-only variable (accepts SET PERSIST_ONLY, but not SET PERSIST or SET
GLOBAL). When specified on the command line or in the mysqld-auto.cnf option file (with SET
PERSIST_ONLY) a deprecation warning prints to the server error log. (WL #15631)
• The mysql_ssl_rsa_setup program originally provided a simple way for community
users to generate certificates manually, if OpenSSL was installed on the system. Now,
mysql_ssl_rsa_setup is deprecated because MySQL Community Edition no longer supports
using yaSSL as the SSL library, and source distributions no longer include yaSSL. Instead, use
MySQL server to generate missing SSL and RSA files automatically at startup (see Automatic SSL
and RSA File Generation). (WL #15668)
• The keyring_file and keyring_encrypted_file plugins now are deprecated.
These keyring plugins are superseded by the component_keyring_file and
component_keyring_encrypted_file components. For a concise comparison of keyring
components and plugins, see Keyring Components Versus Keyring Plugins. (WL #15659)
• Previously, the MySQL server processed a version-specific comment without regard as to whether
any whitespace followed the MySQL version number contained within it. For example, the comments
/*!80034KEY_BLOCK_SIZE=1024*/ and /*!80034 KEY_BLOCK_SIZE=1024*/ were handled
identically. Beginning with this release, when the next character following the version number in
such a comment is neither a whitespace character nor the end of the comment, the server issues a
warning: Immediately starting the version comment after the version number
is deprecated and may change behavior in a future release. Please insert a
whitespace character after the version number.
You should expect the whitespace requirement for version-specific comments to become strictly
enforced in a future version of MySQL.
See Comments, for more information. (WL #15686)
• The MySQL client library currently supports performing an automatic reconnection to the server if it
finds that the connection is down and an application attempts to send a statement to the server to be
executed. Now, this feature is deprecated and subject to removal in a future release of MySQL.
The related MYSQL_OPT_RECONNECT option is still available but it is also deprecated. C API
functions mysql_get_option() and mysql_options() now write a deprecation warning to the
standard error output when an application specifies MYSQL_OPT_RECONNECT. (WL #15766)
Performance Schema Notes
• The type used for the Performance Schema clone_status table's gtid_executed column has
been changed from VARCHAR(4096) to LONGTEXT. (Bug #109171, Bug #34828542)
SQL Syntax Notes
• CURRENT_USER() can now be used as a default value for VARCHAR and TEXT columns in CREATE
TABLE and ALTER TABLE ... ADD COLUMN statements.
The functions SESSION_USER(), USER(), and SYSTEM_USER() are also supported in all of the
cases just mentioned. By way of example, the following sequence of statements now works similarly
to what is shown here, with the precise output dependent on your environment:
16