Habe es gerade nochmal versucht. Den Ordner db_data habe ich zunächst gelöscht und dann
mysql_install_db --datadir=/home/luke/.local/share/akonadi/db_data --basedir=/usr
ausgeführt, was zu folgender Ausgabe führte:
`Installing MariaDB/MySQL system tables in '/home/luke/.local/share/akonadi/db_data' ...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mysql
The second is luke@localhost, it has no password either, but
you need to be the system 'luke' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo
See the MariaDB Knowledgebase at https://mariadb.com/kb
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/home/luke/.local/share/akonadi/db_data'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl
Please report any problems at https://mariadb.org/jira
The latest information about MariaDB is available at https://mariadb.org/.
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/`
Resultat ist, dass Kontacts startet, aber weiterhin leer ist.
Dann habe ich den alten db_data wieder eingefügt und den Befehl erneut ausgeführt; daraufhin kommt folgende Ausgabe:
mysql.user table already exists!
Run mysql_upgrade, not mysql_install_db
Also habe ich es mit mysql_upgrade --datadir=/home/luke/.local/share/akonadi/db_data --basedir=/usr
versucht, mit folgender Ausgabe:
mysql_upgrade: the '--datadir' option is always ignored
mysql_upgrade: the '--basedir' option is always ignored
Looking for 'mysql' as: mysql
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)
FATAL ERROR: Upgrade failed
Schaut nicht wirklich gut aus. Kann jemand damit etwas anfangen?
Danke nochmal und viele Grüße
Ardbeg
Nachtrag: sorry für die miese Formatierung; die Code-Tags werden irgendwie nicht erkannt...