disable the secure_file_priv check
authorPhilip Muskovac <yofel@gmx.net>
Tue, 6 Dec 2016 17:43:17 +0000 (18:43 +0100)
committerPatrick Franz <deltaone@debian.org>
Wed, 1 Mar 2023 20:31:04 +0000 (20:31 +0000)
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

src/server/storage/mysql-global.conf

index b381ea5020e7c95daff44559b739c0a99574cdc8..1c9d23448d993de769e08cfaf2a10bb016d006e1 100644 (file)
@@ -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