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

声明:本站所有文章和图片,如无特殊说明,均为原创发布。商业转载请联系作者获得授权,非商业转载请注明出处。
随机推荐
Linux 网络流量监控 iftop
WP_REST_Response 返回结果类
JavaScript 流式传输数据 SSE (Server-Sent Events)
WordPress 函数 get_categories() 获取所有分类
Wordpress 使用 tag 标签获取文章列表的方法
Express 使用 cookie-parser 处理 cookies
medium-zoom,一款 JavaScript 图片缩放库
如何使主题支持 Woocommerce