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?