【问题标题】:Sonarqube 5.5 Impossible to Write to Binary LogSonarqube 5.5 无法写入二进制日志
【发布时间】:2017-01-20 08:20:27
【问题描述】:

第一次启动 SonarQube 5.5 时,我们在 MySQL 中创建表时收到以下错误。我看到也许可以使用 BINLOG_FORMAT = MIXED 来解决这个问题。这是一个要求吗?谢谢。

ActiveRecord::JDBCError: 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.: 
INSERT INTO schema_migrations (version) VALUES ('710')

【问题讨论】:

    标签: sonarqube sonarqube-ops sonarqube-5.5


    【解决方案1】:

    我猜是启用了复制模式,binary_log 必须兼容基于行的复制 (行或混合)。

    【讨论】:

    • 谢谢埃里克。有没有办法将 Sonar 中的事务隔离从使用基于行的日志记录的 READ COMMITTED 更改为使用语句日志记录的 REPEATABLE READ?我在 Sonarqube 的早期版本中看到,您可以在不同的事务隔离之间切换,但找不到 5.5 版的任何内容。再次感谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-13
    • 1970-01-01
    • 2012-06-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多