■
久しぶりに家サーバのownloudにログインしたら、以下のエラーが出てしまった。
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
バージョンが8.1.0だったので8.1.3に上げてみたが症状はやはり変わらず。
いろいろと調べてみたら、mysqlのBINLOG_FORMATをMIXEDに変更すれば治るらしい。
具体的には、my.cnfに次の一行を追加
binlog_format = mixed
このあとにmysqlを再起動すればOK