热线电话:13121318867

登录
2021-11-07 阅读量: 704
Mysql数据导入导出时提示secure-file-priv(安全文件路径)问题的解决方案报错1290

Mysql数据库进行数据从文件导入或者导出到文件时,提示 ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement ,原因及解决方案如下:

Mysql8.0对此做了限制,默认不允许,可以在mysql中执行如下命令:

show variables like 'secure_file_priv';查看你的安全路径

有三种情况

5.5640
0
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子