| Summary: | app-office/akonadi-server mysql backend nonfunctional after upgrade to dev-db/mysql-5.5.39 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
| Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://launchpad.net/bugs/1083747 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Andreas K. Hüttel
2014-08-22 12:21:49 UTC
OK here's the secret for Gentoo: You MUST run revdep-rebuild. emerge @preserved-rebuild is NOT enough... Keeping the bug open until I/someone else writes a blog post. Today I had to fix a related (or the same?) issue with app-office/akonadi-server-1.13.0 and dev-db/mysql-5.5.39 which is related to the Binary Log of MySQL (http://dev.mysql.com/doc/refman/5.5/en/replication-options-binary-log.html). "akonadictl start" threw may errors of type "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."... Akonadi tried to upgrade the database and therefore used transaction level with InnoDB which InnoDB is only able to execute if "row"-based binary logging is enabled. MySQL 5.5 defaults to "statement"-based. I added binlog_format=MIXED to /etc/mysql/my.cnf to allow both logging methods. Afterwards akonadi was able to process all updates and continued working normally. As I said, the issue may be related but not yours, because i don't have errors in my mysql.err You already found a solution. The "'emerge @preserved-rebuild' is not enough" issue appears sometimes for me too. I started to use both "emerge @preserved-rebuild" and revdeb-rebuild again. Maybe I should really read those news items instead of just clicking them away... |