I cannot use Digikam with mysql anymore. It refuses to start the mysql process. I suppose this is because of the following code in databaseserver.cpp: const QString mysqldPath(DatabaseConfigElement::element(dbType).dbServerCmd); //const QString mysqldPath("/usr/sbin/mysqld"); if ( mysqldPath.isEmpty() || mysqldPath.compare( QLatin1String( "SERVERCMD_MYSQL-NOTFOUND" ) )) { kDebug() << "No path to mysqld set in server configuration!"; return DatabaseServerError(DatabaseServerError::StartError, i18n("No path to mysqld set in server configuration.")); } The method always aborts when the mysqldPath is either empty or != "SERVERCMD_MYSQL-NOTFOUND". So unless your mysqld binary is named like that, digikam refuses to start it. You should rather use the == operator than compare(). Reproducible: Always Steps to Reproduce: 1. Configure digikam to use an internal mysql server 2. Invoke "Check Database Connection" or just restart digikam Actual Results: Digikam is unable to start mysqld and thus cannot connect to the database. Expected Results: Digikam starts mysqld properly. I'd classify this as major, because I cannot access my images from digikam anymore.
yes, i can confirm code commented in 3.0.0. Francesco, what do you think about ? Gilles Caulier
Do you want me to send a patch?
*ping* pretty please, fix this before 3.0. It's really trivial. I can also commit this myself, if you prefer that.
Carsten, You is welcome to commit this patch in git/master... Best Gilles Caulier
Git commit 62ec1eae9e92b70f8dcc0e848c3f9bb1692f49c2 by Carsten Pfeiffer. Committed on 10/01/2013 at 21:59. Pushed by pfeiffer into branch 'master'. FIXED-IN: 3.0 Make internal mysql server work again. M +1 -1 databaseserver/databaseserver.cpp http://commits.kde.org/digikam/62ec1eae9e92b70f8dcc0e848c3f9bb1692f49c2