从mysql直接导出数据到excal显示ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv 的原因

select * from c into outfile 'E:/aa.xls';

显示

show variables like '%secure%';查看 secure-file-priv 当前的值是什么

mysql默认的下载地址是这个地址,需要去my.ini文件下

更改路径

猜你喜欢

转载自blog.csdn.net/yyf960126/article/details/86222610