Version: 1.3.0 (using KDE 4.4.4) OS: Linux amongst other annoying things in akonadi, when updating to kde 4.4.4, akonadiserver fills up .xsession-errors with the following messages: [akonadiserver] Database error: "Unknown MySQL server host 'lokalhost' (0) QMYSQL: Unable to connect" [akonadiserver] Last database error: "Unknown MySQL server host 'lokalhost' (0)" i didn't find where akonadi looks for the mysql host, so i had to add 'lokalhost' to my /etc/hosts file... Reproducible: Always
Could you please attach your ~/.config/akonadi/akonadiserverrc config file (careful, could contain a password)?
there you go: --- BEGIN OF FILE: ~/.config/akonadi/akonadiserverrc --- [QMYSQL] StartServer=false ServerPath= Name=akonadi Host=localhost User=akonadi Password= Options= [%General] Driver=QMYSQL SizeThreshold=4096 ExternalPayload=false [Debug] Tracer=null [QPSQL] Name=akonadi Host= User= Password= Port=5432 --- END OF FILE: ~/.config/akonadi/akonadiserverrc --- looking at http://userbase.kde.org/Akonadi_4.4/Troubleshooting, i executed kcmshell4 kcm_akonadi and filled in the appropriate information... but i still haven't removed 'lokalhost' from /etc/hosts yet... should try that sometime...
Hej, I'm quite sure that 'lokalhost' is the culprit in your setup. Can you just grep all files on your hard disc that contains 'lokalhost'? I guess it's a typo somewhere which should be 'localhost' instead. Ciao, Tobias
believe it or not, but a 'find / -exec grep lokalhost "{}" \; -print' was the first thing i did, without any result... another run right now didn't bring any results either... meanwhile i removed 'lokalhost' from /etc/hosts, and it seems to be ok. probably the 'kcmshell4 kcm_akonadi' setup did the trick... on other machines, where no local mysql-daemon is already set up and running, this particular problem didn't occur...