Archive

Posts Tagged ‘akonadi’

Akonadi MySQL Errors

February 10th, 2010 No comments

If following a new install (or an upgrade for people not previously using Akonadi/Nepomuk/Strigi) Akonadi is whinging at you because the mysql log has errors such as this:

[ERROR] Can’t open and lock privilege tables: Table ‘mysql.servers’ doesn’t exist

Then the following should sort you out:

$ akonadictl stop
$ rm -r ~/.local/share/akonadi/db_data
$ mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data/
$ akonadictl start

It worked for me. Your Mileage May Vary.

DO NOT follow this if you have Akonadi data you do not want to lose.

Categories: KDE, Linux Tags: , , , ,