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

声明:本站所有文章和图片,如无特殊说明,均为原创发布。商业转载请联系作者获得授权,非商业转载请注明出处。
随机推荐
WordPress 使用 shortcode() 增加编辑器功能
JavaScript 函数
Node.js path 模块
WordPress 调用自定义头像
Node.js 安装
WordPress 修改 RESTful API 的请求和响应
SQL 注入
PHP curl 的用法