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

声明:本站所有文章和图片,如无特殊说明,均为原创发布,转载请注明出处。
随机推荐
JavaScript 使用 html2canvas 生成图片
JavaScript 操作 cookie
浏览器的同源和跨域
Node.js readline 模块
WordPress 添加自定义接口
WordPress关闭自动草稿
WordPress 用户信息
JavaScript 工作者线程