发布于 2016-09-08 09:00:32 | 443 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Mysql教程,程序狗速度看过来!

Mysql关系型数据库管理系统

MySQL是一个开放源码的小型关联式数据库管理系统,开发者为瑞典MySQL AB公司。MySQL被广泛地应用在Internet上的中小型网站中。由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,许多中小型网站为了降低网站总体拥有成本而选择了MySQL作为网站数据库。


MySQL 5.7.15 发布了。更新如下:

安全事项:

  • The validate_password plugin now supports the capability of rejecting passwords that match the current session user name, either forward or in reverse. To enable control over this capability, the plugin exposes a validate_password_check_user_name system variable. By default, this variable is disabled; the default will change to enabled in MySQL 8.0. For more information, see Password Validation Plugin Options and Variables.

功能增加或改变:

  • InnoDB: A new dynamic configuration option, innodb_deadlock_detect, can be used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock. At times, it may be more efficient to disable deadlock detection and rely on the innodb_lock_wait_timeout setting for transaction rollback when a deadlock occurs. (Bug #23477773)

  • The systemd support script for the unit file (mysqld_pre_systemd) now assists in creating the error log file only if its location matches the pattern /var/log/mysql*.log. In other cases, the error log directory must be writable or the error log must be present and writable for the user running themysqld process. Also, mysqld_pre_systemd now avoids creating insecure temporary files. (Bug #24516262)

  • The CMake WITH_LZ4 option has been added to control which LZ4 library is used during compilation. By default WITH_LZ4 is set to bundled, so the library provided with MySQL is used. Setting WITH_LZ4 to system uses the LZ4 library from the operating system. (Bug #23607230)

Bugs 修复:

  • InnoDB: An ALTER TABLE ... ENCRYPTION='Y', ALGORITHM=COPY operation on a table residing in the system tablespace raised an assertion. (Bug #24381804)

  • InnoDB: Creating an encrypted table on a Fusion-io disk with an innodb_flush_method setting of O_DIRECT caused a fatal error. (Bug #24329079, Bug #82073)

  • InnoDB: An operation that dropped and created a full-text search table raised an assertion. (Bug #24315031)

  • InnoDB: Accessing full-text search auxiliary tables while dropping the indexed table raised an assertion. (Bug #24009272)

  • InnoDB: An online DDL operation on a table with indexed BLOB columns raised an assertion during logging of table modifications. (Bug #23760086)

  • InnoDB: In some cases, code that locates a buffer pool chunk corresponding to given pointer returned the wrong chunk.

    Thanks to Alexey Kopytov for the patch. (Bug #23631471, Bug #79378)

  • Replication: The addition of the transaction-write-set-extraction=XXH64 option uses xxHash symbols from liblz4. Although the xxHash symbols are exported by liblz4, the header file is not part of the API, so compilation failed when building with WITH_LZ4=system. The fix ensures that xxHash is built separately from liblz4 so that it is available both when using the system and bundled LZ4 libraries. (Bug #82426, Bug #24399819)

    References: See also: Bug #23607230.

  • Replication: mysqlbinlog --read-from-remote-server log1 log2 was opening a new connection for log2 without freeing the connection used forlog1. Thanks to Laurynas Biveinis for the contribution. (Bug #81675, Bug #23540182)

  • Replication: The MTR binary log test suite failed to clean up copied files. Thanks to Daniel Black for the contribution. (Bug #80881, Bug #23016254)

  • Replication: With binlog_row_image=FULL, when updating single tables temporary tables were unnecessarily being used. The fix ensures single table update follows the same pattern as multi-table update. (Bug #79867, Bug #22510353)

  • mysqld_safe attempted to read my.cnf in the data directory, although that is no longer a standard option file location. (Bug #24482156)

  • For mysqld_safe, the argument to --malloc-lib now must be one of the directories /usr/lib/usr/lib64/usr/lib/i386-linux-gnu, or/usr/lib/x86_64-linux-gnu. In addition, the --mysqld and --mysqld-version options can be used only on the command line and not in an option file. (Bug #24464380)

  • It was possible to write log files ending with .ini or .cnf that later could be parsed as option files. The general query log and slow query log can no longer be written to a file ending with .ini or .cnf. (Bug #24388753)

  • Privilege escalation was possible by exploiting the way REPAIR TABLE used temporary files. (Bug #24388746)

  • The client library failed to build on Solaris using the Cstd library. (Bug #24353920)

  • If the basedir system variable was set at server startup from the command line or option file, the value was not normalized (on Windows, / was not replaced with /). (Bug #23747899, Bug #82125)

  • kevent statement timer subsystem deinitialization was revised to avoid a mysqld hang during shutdown on OS X 10.12. (Bug #23744004, Bug #82097)

  • For accounts for which multiple GRANT statements applied, mysqlpump could fail to dump them all. (Bug #23721446)

  • The MYSQL_ADD_PLUGIN macro had a spelling error that caused MYSQL_SERVER not to be defined. (Bug #23508762, Bug #81666)

  • In-place ALTER TABLE operations which when executed separately caused no table rebuild could when combined into a single statement result in a table rebuild. (Bug #23475211, Bug #81587)

  • For keyring plugins, the data access layer is now created only as necessary, not once per operation, which improves keyring performance. (Bug #23337926)

  • A blank server name in CREATE SERVER statements produced a server exit rather than an error. (Bug #23295288)

  • The optimizer failed to check a function return value for an area calculation, leading to a server exit. (Bug #23280059)

  • The server could fail to free memory allocated for execution of queries that used generated columns. (Bug #23205454)

    References: This issue is a regression of: Bug #22392268.

  • mysqlpump output for triggers that contained multiple statements in the trigger body failed to load correctly. (Bug #23072245)

  • Queries that satisfied the following conditions could return different results than in MySQL 5.6: 1) A subquery appeared in the select list; 2) The subquery contained a WHERE condition that referenced a value in the outer query; 3) The outer query contained a GROUP BY that required creation of a temporary table. (Bug #23049975)

  • Passwords that were rejected by the validate_password plugin were written by the server to the error log as cleartext. (Bug #22922023)

  • A prepared statement that used a parameter in the select list of a derived table that was part of a join could cause a server exit. (Bug #22392374, Bug #24380263)

  • MEDIUMINT columns used in operations with long integer values could result in buffer overflow. (Bug #19984392)

  • A spurious ER_NO_SUCH_TABLE error could occur when attempting to execute a prepared CREATE TABLE ... SELECT statement that used a temporary table in the FROM clause and called a stored function. The same error could occur for a nonprepared version of the statement if used in a stored procedure when the procedure was re-executed. (Bug #16672723, Bug #68972)

  • EINTR handling in the client library has been fixed so that interrupted read and write calls are retried. Previously, EINTR was ignored. (Bug #82019, Bug #23703570)

查看其它bug更新及完整更新列表,请点击mysql/5.7/en/news-5-7-15.html

下载地址:http://dev.mysql.com/downloads/mysql/



历史版本 :
MySQL 8.0.4 RC 发布,带来大量新特性和改进
MySQL 5.7.21 发布,bug 修复和功能增加
MySQL 5.7.20 发布,bug 修复和功能增加
MySQL 8.0.3 RC 版即将发布,看看有哪些变化
MySQL 8.0.2 DMR 发布,添加 SQL window 函数
MySQL 5.7.19 发布,开源数据库服务器
MySQL 5.7.18 发布,数据库服务器
Galera 将死 — MySQL Group Replication 正式发布
MySQL 社区版 5.7.17 发布,数据库服务器
MySQL 5.7.16 发布,yaSSL 修复升级
MySQL 5.7.15 发布,新增 InnoDB 和 CMake 选项
MySQL 5.7.14 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务