• Blog
    • Oracle EBS ERP
      • DBA
      • Developer
      • Application
    • Db2 Database
    • MySQL
  • About Me
  • Skills
  • Education
  • Employment
  • Contact

Mysql error : cannot execute statement : impossible to write to binary log since BINLOG_FORMAT=STATEMENT

  • Home
  • Mysql error : cannot execute statement : impossible to write to binary log since BINLOG_FORMAT=STATEMENT

After setup the mysql database many times users got error during execution of script on database "cannot execute statement : impossible to write to binary log since BINLOG_FORMAT=STATEMENT"

Two ways to solve this error.

Solution 1 : BINLOG_FORMAT was set to STATEMENT. Changing to fixed the problem through mysql shell as given below script.

mysql> SET GLOBAL binlog_format = 'MIXED';

Solution 2: Edit my.ini file (via notepad) : C:\%\Config\Mysql\my.ini
Modify the Binary Log Format from –
# binary logging format
binlog-format=STATEMENT

To –
binlog-format=MIXED
Save file. 
Restart MySQL.

Tags
BINLOG_FORMAT=STATEMENT, impossible to write to binary log, mysql, mysql error
Categories
  • Application
  • Db2 Database
  • DBA
  • Developer
  • MySQL
  • Oracle EBS ERP
o
  • Extract & restore single mysql table from backup of databaseSaturday - September 04, 2021
© 2019 KS is proudly powered by Kapil Savaliya.