Stable Release in branch 9.6
9.6.1
Released 16 Jan 2026
(7 months ago)
SoftwareMySQL
Version9.6
Status
End of life
Initial release9.6.0
23 Dec 2025
(8 months ago)
Latest release9.6.1
16 Jan 2026
(7 months ago)
End of
premier support
21 Apr 2026
(Ended 4 months ago)
End of
extended support
21 Apr 2026
(Ended 4 months ago)
Release noteshttps://dev.mysql.com/doc/relnotes/mysql/9.6/en/news-9-6-1.html
Source codehttps://github.com/mysql/mysql-server/tree/mysql-9.6.1
Documentationhttps://dev.mysql.com/doc/refman/9.6/en/
Downloadhttps://dev.mysql.com/downloads/mysql/
MySQL 9.6 ReleasesView full list

What is New in MySQL 9.6

MySQL 9.6 is an Innovation release that brings several important enhancements focused on security, flexibility, and better support for modern deployment environments. This version introduces a more modular architecture in key areas, improves how the server handles containers, and refines several core database features for better long-term maintainability.

The changes emphasize stronger security practices, more granular control over data operations, and improved performance in specific scenarios. Many updates also prepare the server for future developments while maintaining strong backward compatibility.

Major Architecture and Security Improvements

One of the standout changes is the introduction of a new component-based audit log system. This modular design offers greater flexibility in configuration, including control over output location, file format, and buffer settings. Modifying certain audit log variables now requires the AUDIT_ADMIN privilege for improved security.

Hashing functions MD5() and SHA1() have been moved to a separate classic_hashing component. This change allows administrators to enable or disable these legacy functions more easily and helps organizations meet stricter security standards. The bundled OpenSSL library has also been updated to version 3.0.18.

Authentication error messages have been standardized to provide more consistent feedback when users do not exist.

Key New Features and Enhancements

Container Support

A new startup option called container_aware has been added. When enabled, the MySQL server can automatically detect and respect CPU and memory limits set by container orchestration platforms. This helps prevent resource overcommitment in cloud-native and containerized deployments.

JSON Duality Views

Table-level DML tagging is now available for JSON Duality Views. Administrators can apply restrictive tags such as NO INSERT, NO UPDATE, or NO DELETE on a per-table basis. This feature gives finer control over write operations and improves compatibility with certain Oracle Database patterns.

Performance Schema Updates

New monitoring capabilities include the TEMPORARY_ACCOUNT_LOCKS table and additional columns in the HOST_CACHE table to track account lock errors. Telemetry logging has been extended for the Slow Query Log and General Log.

Important Behavior Changes

Foreign key constraint handling and cascade operations have moved from the InnoDB storage engine to the SQL layer of the server. This shift allows for more complete binary logging and better analytics. To keep the previous InnoDB behavior, you can enable the new system variable innodb_native_foreign_keys.

The GROUPING() function can now be used in queries even without ROLLUP. Negative year values in datetime contexts are now consistently treated as errors.

Area Change
Foreign Keys Moved to SQL layer (use innodb_native_foreign_keys for old behavior)
Hash Functions MD5() and SHA1() moved to classic_hashing component
Audit Log New modular component-based system
GTID More efficient internal data structure

InnoDB and Replication Enhancements

InnoDB includes improved redo logging error messages that now show Log Sequence Number (LSN) and capacity details. Several bugs related to XA transactions, blob handling, and bulk inserts have been addressed. Transaction cleanup during server startup has also been strengthened.

Replication benefits from the new, more efficient GTID set data structure, which improves performance and code maintainability. Issues with GTID gap generation when using replica-skip-errors have been fixed.

Optimizer and Other Improvements

The optimizer has received fixes for Common Table Expressions (CTEs), certain JSON operations, and prepared statement handling with REGEXP. Various edge cases in query execution and SHOW CREATE TABLE have been resolved.

Performance Schema and logging components have seen multiple refinements, including better memory management and more accurate digest handling for prepared statements.

Upgrade Considerations

When upgrading to MySQL 9.6, keep these points in mind:

  • If your application relies on MD5() or SHA1(), install the classic_hashing component.
  • Review foreign key behavior and set innodb_native_foreign_keys if you need to preserve the previous InnoDB handling.
  • Adjust audit log configuration for the new modular system.
  • Enable container_aware in containerized environments to respect resource limits automatically.
  • Test thoroughly in a staging environment, especially applications using JSON Duality Views or heavy replication setups.

These changes make MySQL 9.6 a solid step forward for teams looking for better security controls and improved container support while maintaining the reliability expected from an Innovation release.

Releases In Branch 9.6

VersionRelease date
9.6.116 Jan 2026
(7 months ago)
9.6.023 Dec 2025
(8 months ago)