MYSQL导入数据出现The MySQL server is running with the --secure-file-priv

MYSQL导入数据出现The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

查看 secure-file-priv 当前的值是什么

show variables like '%secure%';

那么我们就需要改配置文件my.ini

secure-file-priv=''

重启MySQL

声明:本站所有文章和图片,如无特殊说明,均为原创发布,转载请注明出处。
随机推荐
WP_REST_Response 返回结果类
JavaScript audio 教程
WordPress 常用的路径
WordPress 引入自定义 JavaScript 文件
JavaScript 和 CSS 检测横屏适配
Node.js url 模块
WordPress 侧边栏小工具
Node.js http 模块