Mysqlfailover is failing with "ERROR: Query failed. 1694 (HY000): Cannot modify @@session.sql_log_bin inside a transaction"

(Doc ID 2403864.1)

Last updated on MAY 27, 2018

Applies to:

MySQL Utilities - Version 1.6 and later
Information in this document applies to any platform.

Symptoms

mysqlfailover is reporting the following error:

Changes

 mysqlfailover is used against a MySQL 8 instance.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms