[MDEV-23501] support NULL for secure_file_priv parameter Created: 2020-08-17  Updated: 2023-11-30

Status: Needs Feedback
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Muhammad Irfan Assignee: Muhammad Irfan
Resolution: Unresolved Votes: 0
Labels: Compatibility


 Description   

MariaDB currently supports Limit of LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to files within specified directory via secure_file_priv parameter or set this parameter to empty string (default) to any directory for import/export.
I would like to request NULL support for secure_file_priv as in oracle mysql to disable disables import and export operations.

https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv

If set to NULL, the server disables import and export operations.



 Comments   
Comment by Sergei Golubchik [ 2020-08-30 ]

as a workaround, you can set it to /disable/load/data/infile

Generated at Thu Feb 08 09:22:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.