伙计们,我有一个应用程序,它使用 SELECT OUTFILE 作为另一个应用程序的缓存,因此,它直接输出到 /dev/shm/some/folder。
由于它在后台服务器上运行,因此禁用所有 mysql 安全性没有问题,my.ini 中未设置选项secure_file_priv而是由版本默认设置,如何禁用此文件夹安全性?
[MySQL Version]
/usr/sbin/mysqld Ver 5.7.12-0ubuntu1 for Linux on x86_64 ((Ubuntu))
[Ubuntu Version]
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
Run Code Online (Sandbox Code Playgroud)