用代码导出MySQL数据报错
```sql
<e>查询:select * from table_a INTO OUTFILE 'C:/Users/Administrator/Desktop/runoob.txt'
错误代码: 1290
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
###### 运行结果及报错内容
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
###### 我的解答思路和尝试过的方法
尝试过这个网址的解决方法,在MySQL的配置文件里面的my.ini文件里面没有看到有这个属性,我就自己添加上去了
```sql
# 导入导出数据路径
secure_file_priv="C:\Users\Administrator\Desktop"
重启了一下服务跟SQLyog一样没有效果
```sql
SHOW VARIABLES LIKE '%secure%';

###### 我想要达到的结果
解决问题
改成这样试试
secure-file-priv = ""
或者
secure-file-priv =
注意等号前后有空格