1.用show variables like '%secure%';查看文件导出的指定目录及secure_file_priv对应的value
2.在mysql的my.ini中修改secure_file_priv为空


本文介绍如何通过修改MySQL配置文件my.ini中的secure_file_priv参数,解决文件导出的路径限制问题,适用于需要进行数据迁移或备份的场景。
1.用show variables like '%secure%';查看文件导出的指定目录及secure_file_priv对应的value
2.在mysql的my.ini中修改secure_file_priv为空


1623
1098
339
2266

被折叠的 条评论
为什么被折叠?