From: Philip Muskovac Date: Tue, 22 Nov 2016 20:42:07 +0000 (+0000) Subject: disable the secure_file_priv check X-Git-Tag: archive/raspbian/4%20.08.2-2+rpi1~1^2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=99d036442ce0d27c4a810831ab1c8730d290c205;p=akonadi.git disable the secure_file_priv check Last-Update: 2016-04-18 Forwarded: not-needed Origin: vendor MySQL 5.7 introduced a premission check for export and import operations. In Ubuntu, only the full mysql-server package creates the set system wide directory causing mysqld-akonadi to error out on startup if only mysql-server-core-5.7 is installed. To prevent that the key is set to empty, which reverts mysqld to the 5.6 behavior. See http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv Gbp-Pq: Name kubuntu_disable_secure_file_priv_check.diff --- diff --git a/src/server/storage/mysql-global.conf b/src/server/storage/mysql-global.conf index 55b667b..a137f72 100644 --- a/src/server/storage/mysql-global.conf +++ b/src/server/storage/mysql-global.conf @@ -100,5 +100,9 @@ wait_timeout=31536000 # We use InnoDB, so don't let MyISAM eat up memory key_buffer_size=16K +# KUBUNTU: +# Unset the export dir check as only the full mysql-server package creates it +secure_file_priv= + [client] default-character-set=utf8