![]() Registered Member ![]()
|
Hi,
So I'm trying out kmail 15.12.1, but I'm having akonadi problems (again). I got mysql to work (started a server via systemd without any errors, and can start a mysql console which did not work at first). When I'm starting akonadi via akonadictl start, I'm getting this:
The file doesn't exist. But I don't think I'm supposed to be creating it. I symlinked it to /var/run/mysqld/mysqld.sock just to see what happens - I'm getting errors because of missing privileges. Needless to say, KMail does not work, since akonadi doesn't. I'm on Gentoo. Thanks! Malte |
![]() Registered Member ![]()
|
And what are your akonadi mysql settings? (file ~/.config/akonadi/akonadiserverrc)
These are mine, and they work fine since 7 years or so...
The user and database name might differ of course. Does the database actually exist and does the specified user have full access to it? |
![]() Registered Member ![]()
|
Hi, thank you for your reply. I created a database using /usr/share/mysql/scripts/mysql_install_db. It should be at /var/run/mysqld/mysqld.sock, if that's actually the database. When using your settings, akonadictl start does not return any errors, but akonadictl status reveals the akonadi server is not running. And kdepim apps aren't working either.
Nevermind, I just deleted all mysql and akonadi related settings and things seem to be working so far. I don't know why I didn't think of that earlier. Thank you anyway! |
![]() Registered Member ![]()
|
You need to create a database in mysql that Akonadi can use, and specify this in Akonadi's settings.
That is no database. It is a socket to communicate with mysql, and is created when mysql is started.
You need to modify the (mysql) username, password, and database name accordingly, as I wrote. And again, the database must exist in mysql and the (mysql) user must have all privileges on it. In other words, you need to create a user in mysql, then run something like this (in mysql):
Replace akonadidb, username, and password to your likings (you can use an existing user if you like), and specify them in Akonadi's config as well.
It will use an internal database server then. But I thought you explicitly wanted to use the system-wide mysql server? If that's not your intention (or you don't care), then there's nothing to do really to get Akonadi working, the defaults should be fine... You can ignore the rest of this post in that case. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]