https://bugs.kde.org/show_bug.cgi?id=512859

Tobias Leupold <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Tobias Leupold <[email protected]> ---
I'm pretty sure I ran into exactly this issue. I just set up a new notebook
with Artix Linux and MariaDB 12.1.2. I now wanted to setup KMail, but it's not
functional due to Akonadi not being able to initialize the database and thus
not running.

akonadictl start gives more insight, seems this is due to a syntax error:

akonadictl start


org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
qt.qpa.services: Failed to register with host portal
QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID:
App info not found for 'org.kde.akonadi_control'")
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
/usr/bin/mysqlcheck: Deprecated program name. It will be removed in a future
release, use '/usr/bin/mariadb-check' instead
akonadi.collectionattributetable                   OK
akonadi.collectionmimetyperelation                 OK
akonadi.collectionpimitemrelation                  OK
akonadi.collectiontable                            OK
akonadi.flagtable                                  OK
akonadi.mimetypetable                              OK
akonadi.parttable                                  OK
akonadi.parttypetable                              OK
akonadi.pimitemflagrelation                        OK
akonadi.pimitemtable                               OK
akonadi.pimitemtagrelation                         OK
akonadi.resourcetable                              OK
akonadi.schemaversiontable                         OK
akonadi.tagattributetable                          OK
akonadi.tagremoteidresourcerelationtable           OK
akonadi.tagtable                                   OK
akonadi.tagtypetable                               OK
/usr/bin/mysql_upgrade: Deprecated program name. It will be removed in a future
release, use '/usr/bin/mariadb-upgrade' instead
This installation of MariaDB is already upgraded to 12.1.2-MariaDB.
There is no need to run mariadb-upgrade again.
You can use --force if you still want to run mariadb-upgrade
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: DB initializer done
org.kde.pim.akonadiserver: Updating index failed:  
Sql error: You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to use near '2'
at line 1 QMYSQL: Die Abfrage konnte nicht ausgeführt werden
Query: ALTER TABLE PimItemTable DROP FOREIGN KEY 2
org.kde.pim.akonadiserver: ""
org.kde.pim.akonadiserver: Unable to initialize database.
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited
normally...

Seems like MariaDB doesn't like "ALTER TABLE PimItemTable DROP FOREIGN KEY 2"
anymore?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to