disable the secure_file_priv check
authorPhilip Muskovac <yofel@gmx.net>
Tue, 22 Nov 2016 20:42:07 +0000 (20:42 +0000)
committerSandro Knauß <hefee@debian.org>
Tue, 22 Nov 2016 20:42:07 +0000 (20:42 +0000)
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

src/server/storage/mysql-global.conf

index 55b667bc328001ecacfffea997f114f25879f5cb..a137f726ec3c256b12348f83bed2d735984962df 100644 (file)
@@ -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