1. Core Feature Upgrades: Dual Breakthroughs in Efficiency and Flexibility
1.1 Modular Audit Log System for Efficient Operations
MySQL 9.6.0 restructures the audit log system architecture, breaking the previous monolithic audit log software into smaller, independent components packaged as dedicated MySQL components. This upgrade simplifies audit log installation, management, and maintenance, allowing flexible configuration of parameters like log output path, format, and buffer size. Additionally, modification privileges for the system variable audit_log_rotate_on_size now require AUDIT_ADMIN privileges, enhancing access control.
1.2 GTID Replication Optimized for Reliable Transaction Management
This update introduces a new GTID (Global Transaction ID) set data structure, replacing the legacy library. This not only modernizes and simplifies GTID processing logic but also significantly improves maintainability and performance, providing stronger transaction consistency guarantees in distributed database environments.
1.3 InnoDB Engine Enhancements for Greater Stability
InnoDB, MySQL's default storage engine, receives several crucial optimizations:
- Redo log error messages now include current LSN (Log Sequence Number) and log capacity information, with corresponding enhancements in
MONITORoutput for easier troubleshooting; - Fixed abnormal state transitions of XA prepared transactions during server restart, preventing assertion failures or transaction rollbacks;
- Optimized rowid generation logic for tables without primary keys, improving efficiency;
- Resolved issues where residual undo logs after transaction commit caused subsequent query errors, and fixed deadlocks during concurrent
FLUSH TABLE FOR EXPORTwithDROP TABLEand DML operations.
1.4 Container Awareness for Smarter Resource Adaptation
The new container_aware startup option enables MySQL server to automatically detect CPU and memory resource limits in container environments and adapt accordingly, ensuring optimal resource utilization in containerized deployments while preventing overflow or waste.
2. Security Enhancements: Compliance and Control
2.1 Hash Function Componentization for Better Compliance
The deprecated hash algorithm SQL functions MD5() and SHA1() have been moved to a separate classic_hashing component. Users can choose to install this component based on business needs, maintaining application compatibility while avoiding security non-compliant algorithms.
2.2 Authentication Mechanism Improvements
Connection attempts with non-existent users now consistently return "Access denied for user" errors, regardless of username length or MySQL version. Fixed vague error messages when creating duplicate usernames and resolved several authentication-related vulnerabilities.
2.3 Enhanced Account Lock Monitoring
Performance_Schema adds the TEMPORARY_ACCOUNT_LOCKS table for viewing temporarily locked accounts. The HOST_CACHE table gains two new columns tracking error counts from permanent and temporary account locks, enabling real-time security monitoring.
3. Usability Improvements: Development and Operations
3.1 JSON Duality View DML Tag Support
JSON duality views now support specifying allowed DML operations (INSERT/UPDATE/DELETE) per table, with restriction tags like NO INSERT for granular write permission control within single views, compatible with Oracle DB behavior.
3.2 Enhanced Logging Capabilities
GCS/XCOM trace files now include timestamps for better debugging. Slow query logs and general logs integrate with telemetry logging, configurable via the setup_loggers table for centralized monitoring.
3.3 MySQL Shell Extension Support
Option Tracker now supports MySQL Shell and VS Code edition, adding status variables to track natural language to SQL conversion, HeatWave chat, and data export/import operations.
3.4 Configuration Tool Optimizations
MySQL Configurator now properly handles quoted passwords, automatically removing leading/trailing quotes and backticks. Fixed issues with mysqlx_port persistence and file permission application, and optimized lengthy password update processes.
4. Other Important Improvements and Fixes
4.1 Dependency Updates
OpenSSL updated to 3.0.18 (on bundled platforms) for better cryptographic security. Opentelemetry-cpp upgraded to 1.23.0 for enhanced observability.
4.2 Syntax and Optimizer Improvements
GROUPING() function now works in queries without ROLLUP. Fixed assertion failures with coalesce/any_value and JSON operations, datetime validation for negative years, and slow regex query execution in prepared statements.
4.3 Extensive Bug Fixes
Over 40 known issues resolved across query execution, backup recovery (mysqldump/mysqlpump), Performance_Schema data collection, and configuration parsing, including:
- Fixed prepared statement SQL capture in
Performance_Schema; - Resolved
mysqldump --routinesquoting with backslashes in database names; - Fixed Windows startup issues with
--skip-grant-tables.
Conclusion
MySQL 9.6.0 delivers significant advancements in architecture, performance, security, and usability. The update enhances container deployment adaptation, distributed transaction reliability, and security compliance while improving stability through extensive bug fixes. Consider upgrading based on your business requirements and consult the official MySQL documentation for detailed technical specifications.

%20(2048%20x%201000%20%E5%83%8F%E7%B4%A0)%20(3).png)

%20(2048%20x%201000%20%E5%83%8F%E7%B4%A0)%20(2).png)
