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 对话框元素 dialog
如何使用 Photoshop 绘画像素风格图片
Node.js 模块概念
Git 提示“warning: in the working copy of ' LF will be replaced by CRLF”
Nginx 使用 Njs 授权访问文件
JavaScript 鼠标事件
JavaScript API 接口
Node.js path 模块