mysql 查看secure_file_priv

show global variables like '%secure%';
在这里插入图片描述
几种情况

secure_file_priv为null    表示不允许导入导出
secure_file_priv指定文件夹时,表示mysql的导入导出只能发生在指定的文件夹
secure_file_priv没有设置时,则表示没有任何限制
发布了44 篇原创文章 · 获赞 12 · 访问量 5536

猜你喜欢

转载自blog.csdn.net/qq_39326816/article/details/103481726