Home > KDE, Linux > Akonadi MySQL Errors

Akonadi MySQL Errors

February 10th, 2010 Zordrak Leave a comment Go to 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.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Categories: KDE, Linux Tags: , , , ,
  1. No comments yet.
  1. No trackbacks yet.
Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).