From: Philip Muskovac Date: Tue, 6 Dec 2016 17:43:17 +0000 (+0100) Subject: disable the secure_file_priv check X-Git-Tag: archive/raspbian/4%22.08.3-1+rpi1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=49f2381384e3cb0d97fbc572ff816e0a0b2c7a6d;p=akonadi.git disable the secure_file_priv check MySQL 5.7 introduced a premission check for export and import operations. In Debian and 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 Bug-Debian: https://bugs.debian.org/843534 Last-Update: 2016-04-18 Forwarded: not-needed Origin: vendor Gbp-Pq: Name disable_secure_file_priv_check.diff --- diff --git a/src/server/storage/mysql-global.conf b/src/server/storage/mysql-global.conf index b381ea5..1c9d234 100644 --- a/src/server/storage/mysql-global.conf +++ b/src/server/storage/mysql-global.conf @@ -96,5 +96,9 @@ wait_timeout=31536000 # We use InnoDB, so don't let MyISAM eat up memory key_buffer_size=16K +# Debian/KUBUNTU: +# Unset the export dir check as only the full mysql-server package creates it +secure_file_priv= + [client] default-character-set=utf8