MySQL 9.3 Brings Enhanced JavaScript Support

MySQL 9.3 introduces logical user account dumps, improved JavaScript support, and new Group Replication election features.

MySQL, a widely adopted open-source relational database management system (RDBMS), has launched its third update to the 9.x series, version 9.3, introducing several new features.

The new release introduces significant improvements to database backup capabilities, specifically through enhancements to the mysqldump utility. With the new --users option, admins can now effortlessly create logical dumps of user accounts via convenient SQL CREATE USER and GRANT statements.

Want to streamline migrations even further? The --add-drop-user option neatly incorporates user deletion commands into your dump scripts, simplifying transitions between environments.

Moreover, flexibility is boosted with selective backup options: administrators can use --include-user or --exclude-user flags to precisely control which accounts are included or omitted.

Developers working with JavaScript stored programs have also received significant attention in MySQL 9.3. The Multilingual Engine Component (MLE), a key part of MySQL Enterprise Edition, now includes robust support for the MySQL DECIMAL data type within JavaScript stored programs.

To maintain precision, these values default to JavaScript Strings, though flexibility is provided for those who prefer numeric handling. Additionally, the JavaScript Internationalization API is now integrated, facilitating seamless localization and internationalization through familiar JavaScript methods.

Continuing on the JavaScript front, MySQL 9.3 has dramatically enhanced library management capabilities. Dynamic loading of JavaScript libraries via the await keyword streamlines asynchronous operations, ensuring required modules are loaded exactly when needed. The newly introduced SQL statements, ALTER LIBRARY and SHOW LIBRARY STATUS, further simplify the management and visibility of JavaScript libraries.

Group Replication also sees meaningful advancements. The new Primary Election component effectively selects the most up-to-date secondary server for promotion during failovers, minimizing data inconsistency and downtime—a critical improvement for enterprise deployments seeking maximum availability and reliability.

Lastly, MySQL 9.3 expands its optimization capabilities, particularly in handling quantified comparison predicates. It now supports an extensive range of transformations within both WHERE and SELECT clauses, ensuring that even complex queries run more efficiently.

Alongside these additions, however, the previously deprecated Version Tokens plugin has now been fully removed. Additionally, the replica_parallel_workers setting has been updated to require a minimum value of 1, ensuring replication efficiency remains consistent and reliable.

For more in-depth details, check the release notes or review all the changes that MySQL 9.3 brings here.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.