| Summary: | Akonadi server incompatible with latest Mysql defaults (NO_ZERO_DATE enabled by default) when using database created using older akonadi versions | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | Matthew Dawson <matthew> |
| Component: | server | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | major | CC: | flyser42, kde_bugs, nicolas |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Matthew Dawson
2018-12-29 03:37:26 UTC
I am also affected by this bug. After I had to manually upgrade the db via mysql_upgrade first, I ran into the above issue. I couldn't start akodani nor kmail. I had to edit the following configuration file and add the given sql_mode setting in [mysqld] in order to start kmail normally. ~/.local/share/akonadi/mysql.conf sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |