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

            Bug ID: 388345
           Summary: AppImage MySQL connection issues
           Product: digikam
           Version: 5.8.0
          Platform: Appimage
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Bundle-AppImage
          Assignee: digikam-bugs-n...@kde.org
          Reporter: bbc.qui...@gmx.de
  Target Milestone: ---

Usually I'm running digikam with MySQL server backend. For testing purposes I
tried to use digikam-5.8.0-20171229T043903-x86-64.appimage, but I cannot
connect to my database. It works with the very same settings using the
conventionally installed version, but not with the appimage. The latter one
complains:

-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options
digikam.widgets: Breeze icons ressource file found
digikam.general: AlbumWatch use QFileSystemWatcher
digikam.general: Database Parameters:
   Type:                     "QMYSQL"
   DB Core Name:             "digikam-appimage"
   DB Thumbs Name:           ""
   DB Face Name:             ""
   Connect Options:          ""
   Host Name:                "localhost"
   Host port:                3306
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 "digikam-appimage"
   Password:                 "XXXXXXXXXXXXXXXX"

digikam.dbengine: Error while opening the database. Error details [
QSqlError("2002", "QMYSQL: Unable to connect", "Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (13)") ]


The installed version goes over this and starts doing it's usual things:

digikam.general: AlbumWatch use QFileSystemWatcher
digikam.general: Database Parameters:
   Type:                     "QMYSQL"
   DB Core Name:             "digikam-appimage"
   DB Thumbs Name:           ""
   DB Face Name:             ""
   Connect Options:          ""
   Host Name:                "localhost"
   Host port:                3306
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 "digikam-appimage"
   Password:                 "XXXXXXXXXXXXXXXX"

digikam.dbengine: Loading SQL code from config file
"/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  8
digikam.coredb: Core database: makeUpdates  8  to  8


Indeed there is no MySQL socket at /var/lib/mysql/mysql.sock but at
/var/run/mysqld/mysqld.sock (Gentoo standard) which is magically corrected in
the installed version.

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

Reply via email to