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

声明:本站所有文章和图片,如无特殊说明,均为原创发布。商业转载请联系作者获得授权,非商业转载请注明出处。
随机推荐
HTML textarea 文本输入框
JavaScript 流式传输数据 SSE (Server-Sent Events)
JavaScript 焦点管理
WordPress 自定义文章类型
JavaScript API 接口
冒泡法排序
Land APP 小程序
WordPress 添加文章自定义字段