Documentation Home
MySQL Utilities Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 218.5Kb
PDF (A4) - 218.3Kb
EPUB - 73.1Kb


MySQL Utilities Release Notes  /  Changes in Release 1.2  /  Changes in MySQL Utilities 1.2.1 (2013-02-28)

Changes in MySQL Utilities 1.2.1 (2013-02-28)

This section documents all changes and bug fixes applied since the release of 1.2.0.

Functionality Added or Changed

  • Support was added for reading port and socket associated with authentication credentials stored in an option file named .mylogin.cnf. See mysql_config_editor — MySQL Configuration Utility. (Bug #16290692)

  • The failover operation was improved and now searches for any transactions on the slaves that have not been read from the relay log. Failover will now gather all of these events to the candidate slave before failover is complete. (Bug #16283330)

  • The switchover and failover external scripts now accept parameters from the utility. This permits custom scripts to execute application-specific operations during the process. The data passed is as follows:

    SWITCHOVER

    • exec_before : old master host, old master port, new master host, new master port

    • exec_after : new master host, new master port

    FAILOVER

    • exec_fail : old master host, old master port

    • exec_before : old master host, old master port, new master host, new master port

    • exec_post_failover : old master host, old master port, new master host, new master port

    • exec_after : old master host, old master port, new master host, new master port

    (Bug #14157692)

Bugs Fixed

  • Some source files were missing license and/or copyright information. (Bug #16283254)

  • Messages and handling of stop, start, and reset slaves has been improved for the mysqlrpladmin utility.

    The --discover-slave-login option is no longer allowed for stop, start, and reset operations, as instead the --slave option is required. (Bug #16243584)

  • Utilities were enhanced to check the Python version required for each utility. (Bug #16238348)

  • Errors for connection failures have been improved, as more details about the type of failure is presented. (Bug #16237986)

  • The switchover operation with --demote-master now disconnects the new master from the old master to complete the move of the candidate slave to the new master. (Bug #16177167)

  • All interactive-specific exit() calls were replaced with the standard sys.exit() method. This conforms to the current Python standards. (Bug #16167359)

  • Error handling for the mysqlreplicate utility was improved to check all errors on the slaves. (Bug #16164767)

  • String quoting was improved for the mysqldbcopy, mysqldbexport, and mysqldbimport utilities. (Bug #14348501)

  • The log parser was changed to accept host names with dots or hyphens. (Bug #14172941)

  • The unit tests were corrected to detect if the mysql_config_editor is present. If not, unit tests that require it are skipped. (Bug #68356)

  • The entire MySQL Utilities package was updated to facilitate RPM packaging. These changes include license updates, the removal of unnecessary shebang's, and the mut manual page was moved and is no longer listed with the other utilities. (Bug #68182, Bug #13956819)