Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • 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
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

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

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Database Operations Fail - Writing Binary Logs

Database Operations Fail - Writing Binary Logs

Added by James Brocklebank over 6 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 over 6 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...