Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. Database Operations Fail - Writing Binary Logs

Database Operations Fail - Writing Binary Logs

Added by James Brocklebank almost 7 years ago

Hi,

After setting up openproject I'm getting the following error when doing any updates, inserts to my database.

ActiveRecord::StatementInvalid (Mysql2::Error: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.: UPDATE `users` SET `last_failed_login_on` = '2018-11-14 04:31:31', `failed_login_count` = 1, `updated_on` = '2018-11-14 04:31:31' WHERE `users`.`id` = 1)

Has anyone encountered this before and know how to fix it? I have several other Rails applications running using the same MySQL server all with InnoDB storage engine and not having any problems.


Replies (1)

RE: Database Operations Fail - Writing Binary Logs - Added by Jaap van der Veen almost 7 years ago

Adding the following line to your MySQL configuration (my.cnf):

[mysqld]
binlog_format = 'MIXED'

should solve your problem (you may have to delete your database before trying 'openproject configure' again.

  • (1 - 1/1)
Loading...