https://bugs.kde.org/show_bug.cgi?id=522845
--- Comment #11 from Daniel Black <[email protected]> --- > You could build the akonadi project using the cmake option > `-DMYSQLD_EXECUTABLE=/usr/libexec/mariadbd` ? Good recommendation for Michal and Fedora packaging of Akonadi. > also `mariadb --version` mentions "MariaDB" now. > anyway, if you could provide a command line that uses "SELECT VERSION" I will > give it a test. I missed that this was pre-server start so I guess SELECT VERSION() won't work. Using the $defaultServerPath --version is consistent across MySQL/MariaDB. early in ::init - use defaultServerPath as the determination. After this is set call parseCommandLineToolsVersion(defaultServerPath) In ::parseCommandLineToolsVersion(serverPath) mysqldProcess.start(serverPath, {QStringLiteral("--version")}); RegularExpression regexp(QStringLiteral("Ver ([0-9]+)\\.([0-9]+)\\.([0-9]+)(-MariaDB)?")); if (regex.captureCount() > 1) mIsMariaDB = true; -- You are receiving this mail because: You are watching all bug changes.
