Bug 393357

Summary: akonadi 18.04.0 cannot find /etc/akonadi/mysql-global.conf
Product: [Frameworks and Libraries] Akonadi Reporter: Texstar <texstar>
Component: serverAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: PCLinuxOS   
OS: Linux   
Latest Commit: Version Fixed In:

Description Texstar 2018-04-20 22:46:15 UTC
akonadi 18.04.0 cannot find /etc/akonadi/mysql-global.conf

Error:
Did not find MySQL server default configuration (mysql-global.conf)
Failed to remove runtime connection config file

Temporary solution:

Copy mysql-global.conf file from the /etc/akonadi folder to your ~/.config/akonadi folder.

Fixes kmail, korganizer and anything else that depends on the akonadi server.
Comment 1 Texstar 2018-04-20 23:11:10 UTC
(In reply to Texstar from comment #0)
> akonadi 18.04.0 cannot find /etc/akonadi/mysql-global.conf
> 
> Error:
> Did not find MySQL server default configuration (mysql-global.conf)
> Failed to remove runtime connection config file
> 
> Temporary solution:
> 
> Copy mysql-global.conf file from the /etc/akonadi folder to your
> ~/.config/akonadi folder.
> 
> Fixes kmail, korganizer and anything else that depends on the akonadi server.

Fixed rpm package by removing -DCONFIG_INSTALL_DIR=%{_sysconfdir} from my cmake configure.

Happy 420!