1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: Philip Muskovac <yofel@gmx.net>
Date: Tue, 6 Dec 2016 18:43:17 +0100
Subject: 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
---
src/server/storage/mysql-global.conf | 4 ++++
1 file changed, 4 insertions(+)
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
+# Debian/KUBUNTU:
+# Unset the export dir check as only the full mysql-server package creates it
+secure_file_priv=
+
[client]
default-character-set=utf8
|