发布于 2016-06-05 07:53:26 | 155 次阅读 | 评论: 0 | 来源: 网友投递
MySQL 5.7.13 发布了。更新如下：
Account Management Notes
In MySQL 5.7.8, the maximum length of MySQL user names was increased from 16 to 32 characters, but some applicable contexts for this increase were overlooked. Additional changes in maximum user name length now have been applied:
If you upgrade to this MySQL release from an earlier version, you must run mysql_upgrade (and restart the server) to incorporate the changes to the
mysql system database. A server from MySQL 5.7.13 or higher for which mysql_upgrade has not been run continues to permit a maximum of 77 characters in the system tables mentioned previously, and an
ER_USER_COLUMN_OLD_LENGTH error will occur in those system table contexts where a
value from 78 to 93 characters long is given.
definer column of the
grantor column of the
The size of these
mysql system table columns is increased:
In each case, the column previously was defined as
CHAR(77), where 77 was chosen to permit a
string containing a user name up to 16 characters, a
@ character, and a host name up to 60 characters. Each column now is defined as
CHAR(93), reflecting an increase in permitted user name length from 16 to 32 characters.
A similar change from
CHAR(93)applies to the
DEFINER column of these
VIEWS. Along with the changes to
INFORMATION_SCHEMA tables, output from any corresponding
SHOW statements now displays
DEFINER values up to 93 characters. Examples of affected statements:
SHOW PROCEDURE STATUS.
Audit Log Notes
audit_log plugin that forms the basis for MySQL Enterprise Audit now supports fine-grained filtering of events. This enables a reduction in the number of log entries written to the audit log file, which increases overall performance due to fewer write operations during log recording. It also simplifies subsequent audit log processing in terms of readability and processing time.
Fine-grained audit log filtering is rule based, implemented using tables that store filter definitions and a set of user-defined functions (UDFs) that enable filter manipulation. To simplify installing the tables and UDFs along with the
audit_log plugin, an installation script is now provided. For more information, see Installing or Uninstalling MySQL Enterprise Audit, and Audit Log Filtering.
By default, audit log filtering now logs no auditable events for any users. This differs from the pre-MySQL 5.7.13 legacy audit log, which logs all auditable events for all users. To produce log-everything behavior, see the installation instructions.
On platforms for which systemd support is installed, systemd has the capability of managing multiple MySQL instances. For details, seeConfiguring Multiple MySQL Instances Using systemd. Consequently, mysqld_multi and mysqld_multi.server are not installed because they are unnecessary. (Bug #81093, Bug #23134620)
The linked OpenSSL library for the MySQL Commercial Server has been updated to version 1.0.1t. Issues fixed in the new version are described at http://www.openssl.org/news/vulnerabilities.html.
This change does not affect the Oracle-produced MySQL Community build of MySQL Server, which uses the yaSSL library instead. (Bug #23229564)
MySQL Server now includes an SQL interface for keyring key management, implemented as a set of user-defined functions (UDFs) that access the functions provided by the internal keyring service. For more information, see Keyring Key Management Functions. For information about the keyring service functions invoked by the UDFs, see The Keyring Service. For general keyring information, see The MySQL Keyring.
Functionality Added or Changed
For better separation of output from multiple statements,
mysqltest now flushes output sent to
stdout when the output destination is not a file. Previously, flushing occurred only for file output. (Bug #21435906)
support-files/MacOSX/ReadMe.txt is no longer included in MySQL distributions. (Bug #81038, Bug #23088916)
The version of the
tcmalloc library included in MySQL distributions was very old. It has been removed and is no longer included with MySQL. (Bug #80994, Bug #23068660)
my_make_scrambled_password() function in the C client library was restricted earlier in MySQL 5.7 (not exported to client programs). The function has once again been made visible to client programs. (Bug #80974, Bug #23061746)
It is possible to use
ALTER TABLE to change the default value of a column
col_name, which may change the value of a generated column expression that refers to the column using
DEFAULT(. For this reason,
ALTER TABLE operations that change the definition of a column now cause a table rebuild if any generated column expression uses
DEFAULT(). (Bug #80299, Bug #22680839)
This release adds an unquoting extraction operator
->>, sometimes also referred to as an inline path operator, for use with
JSONdocuments stored in MySQL. The new operator is similar to the
-> operator, but performs JSON unquoting of the value as well. For a JSON column
mycol and JSON path expression
mypath, the following three expressions are equivalent:
->> operator can be used in SQL statements wherever
JSON_UNQUOTE(JSON_EXTRACT()) would be allowed. This includes (but is not limited to)
HAVING clauses, and
ORDER BY and
GROUP BY clauses.
查看其它bug更新及完整更新列表，请点击Changes in MySQL 5.7.13 (2016-06-02)