Latest in branch 5.6
5.6.51
Released 05 Jan 2021
(5 years ago)
SoftwareMySQL
Version5.6
StatusLTS
End of life
Initial release5.6.2
14 Mar 2011
(15 years ago)
Latest release5.6.51
05 Jan 2021
(5 years ago)
End of
premier support
28 Feb 2018
(Ended 8 years, 3 months ago)
End of
extended support
28 Feb 2021
(Ended 5 years, 3 months ago)
Release noteshttps://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-51.html
Source codehttps://github.com/mysql/mysql-server/tree/mysql-5.6.51
Documentationhttps://dev.mysql.com/doc/refman/5.6/en/
Downloadhttps://dev.mysql.com/downloads/mysql/
MySQL 5.6 ReleasesView full list

What Is New in MySQL 5.6

MySQL 5.6 delivers major enhancements in performance, scalability, and manageability. This release focuses on making the database faster and more reliable for modern web, cloud, and embedded use cases.

Category Key Changes
Performance & Scalability InnoDB improvements, Optimizer enhancements, Better replication
Manageability Online DDL, PERFORMANCE_SCHEMA expansions, New instrumentation
Security Password policies, SHA-256 authentication, Security-sensitive logs
New Features Memcached API, Full-text search in InnoDB, TIMESTAMP auto-update
Deprecated/Removed Deprecated parameters, Removal of old partitioning options

How did performance and scalability improve?

The InnoDB storage engine got a significant rewrite, making it the clear choice for most workloads. Subquery optimizations and a new optimizer cost model drastically cut query execution times.

Binary log group commits reduce replication overhead, and multi-threaded slaves speed up applying changes from the master. You can now run ALTER TABLE without locking out your application for many operations.

Key Optimizer Changes

  • Subquery optimizations using semi-join and materialization
  • Index Condition Pushdown (ICP) for faster range scans
  • Batch Key Access (BKA) to reduce random disk I/O for joins

What new management tools were introduced?

Online Data Definition Language (DDL) is a game-changer. You can add indexes, change columns, and optimize tables without taking the database offline or blocking writes.

The PERFORMANCE_SCHEMA was expanded with dozens of new tables. It now gives you deep visibility into statement execution, table I/O, and user activity. New EXPLAIN formats make it easier to understand query plans.

New Instrumentation

  • Tables for monitoring table and index usage
  • Statement digest tables for identifying frequent queries
  • User and host-based activity statistics

Were there any security enhancements?

Yes, MySQL 5.6 tightened up security with more granular controls. Password validation policies help enforce stronger passwords, and you can now use SHA-256 based authentication for more secure password hashing.

Security-sensitive information is now automatically redacted from the plaintext logs. This prevents accidentally logging passwords or other sensitive data from SQL statements.

What entirely new features were added?

The integrated Memcached API lets you use InnoDB tables as a key-value store, bypassing the SQL layer for ultra-fast reads and writes. This is huge for caching and simple data retrieval patterns.

Full-text search (FTS) support finally came to InnoDB, so you no longer need to choose between transactions and text search. The TIMESTAMP and DATETIME types also got auto-initialization and update properties.

CREATE TABLE example (
    id INT PRIMARY KEY,
    data TEXT,
    modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);

FAQ

Is the Memcached API a replacement for a dedicated Memcached server?
Not exactly. It provides a NoSQL interface to your InnoDB data, offering persistence and consistency. It's great for reducing SQL overhead on simple lookups, but for pure, transient caching, a dedicated cache server might still be faster.

How does online DDL actually work? Are there any catches?
It works by using internal optimizations in InnoDB to avoid table copying and metadata locking for specific operations. The main catch is that some complex operations, like changing the data type of a column, still require a table copy and lock.

Should I always use the new cost-based optimizer?
In most cases, yes. The new cost model is smarter and uses statistics about your data distribution. However, if you have a very stable query plan from 5.5 that you rely on, test thoroughly as the new optimizer might choose a different path.

What's the biggest reason to enable PERFORMANCE_SCHEMA?
To finally figure out what your database is actually spending its time doing. It moves you from guessing about performance bottlenecks to having concrete data on wait events, query latency, and resource consumption.

Does full-text search in InnoDB have all the same features as MyISAM FTS?
Mostly, but not entirely. The core functionality is there, but some more advanced features like proximity operators and finer control over the stopword list were still maturing in this initial release.

Releases In Branch 5.6

VersionRelease date
5.6.5105 Jan 2021
(5 years ago)
5.6.5023 Sep 2020
(5 years ago)
5.6.4901 Jun 2020
(6 years ago)
5.6.4809 Mar 2020
(6 years ago)
5.6.4725 Nov 2019
(6 years ago)
5.6.4627 Sep 2019
(6 years ago)
5.6.4523 May 2019
(7 years ago)
5.6.4413 Mar 2019
(7 years ago)
5.6.4321 Dec 2018
(7 years ago)
5.6.4210 Sep 2018
(7 years ago)
5.6.4115 Jun 2018
(7 years ago)
5.6.4026 Feb 2018
(8 years ago)
5.6.3906 Dec 2017
(8 years ago)
5.6.3813 Sep 2017
(8 years ago)
5.6.3702 Jun 2017
(9 years ago)
5.6.3618 Mar 2017
(9 years ago)
5.6.3528 Nov 2016
(9 years ago)
5.6.3430 Sep 2016
(9 years ago)
5.6.3326 Aug 2016
(9 years ago)
5.6.3211 Jul 2016
(9 years ago)
5.6.3116 May 2016
(10 years ago)
5.6.3003 Mar 2016
(10 years ago)
5.6.2915 Jan 2016
(10 years ago)
5.6.2816 Nov 2015
(10 years ago)
5.6.2718 Sep 2015
(10 years ago)
5.6.2625 Jun 2015
(10 years ago)
5.6.2505 May 2015
(11 years ago)
5.6.2425 Mar 2015
(11 years ago)
5.6.2319 Jan 2015
(11 years ago)
5.6.2221 Nov 2014
(11 years ago)
5.6.2111 Sep 2014
(11 years ago)
5.6.2018 Jul 2014
(11 years ago)
5.6.1906 May 2014
(12 years ago)
5.6.1714 Mar 2014
(12 years ago)
5.6.1609 Jan 2014
(12 years ago)
5.6.1517 Nov 2013
(12 years ago)
5.6.1410 Sep 2013
(12 years ago)
5.6.1310 Jul 2013
(12 years ago)
5.6.1221 May 2013
(13 years ago)
5.6.1105 Apr 2013
(13 years ago)
5.6.1001 Feb 2013
(13 years ago)
5.6.922 Nov 2012
(13 years ago)
5.6.815 Oct 2012
(13 years ago)
5.6.718 Sep 2012
(13 years ago)
5.6.617 Jul 2012
(13 years ago)
5.6.529 Mar 2012
(14 years ago)
5.6.413 Dec 2011
(14 years ago)
5.6.326 Sep 2011
(14 years ago)
5.6.214 Mar 2011
(15 years ago)