Digikam unsupported database option: UNIX_SOCKET

I followed a guide for setting up Digikam with a MySQL server (). Digikam connects to the database successfully and I have been using Digikam this way for over a year. But startup has been really slow lately, so I looked into it and the longest time is spent after this message is printed:

unknown: Unsupported option 'UNIX_SOCKET=/run/mysqld/mysqld.sock'

Although it’s true what that author said; I visited the QT docs page (which Digikam links to when you click “connection options”) and UNIX_SOCKET is indeed a valid option, and that socket is what my mysql instance uses. Removing the database option also eliminates the error/warning, but it does nothing to decrease startup times.

My question is whether using the socket instead of TCP is actually possible, and if so, what do we need to do differently from the supertechchrew blog post?

First, welcome to the KDE Discuss forum.


Did you happen to use the following instructions with respect to digiKam’s database settings?
<Database Settings>

Do you happen to know which platform is being used for the MySQL server?

And, is it really a MySQL server or, is it a MariaDB server?

Did you follow the following instructions to setup the database user on the MySQL server?
<https://docs.digikam.org/en/setup_application/database_settings.html#the-mysql-remote-server>