热线电话:13121318867

登录
2021-02-17 阅读量: 2702
MYSQL无法导入数据

我的MYSQL导入数据时会报错,网上找了很多博客,都让修改my.ini文件中的这个'secure_file_priv',的路径,但是我修改了以后发现并没有变换,并且将文件放入到安全路径进行导入依然不行,有没有大神知道到底是啥问题呀

load data infile'C:\ProgramData\MySQL\MySQL Server 8.0\Uploads\t1.csv'
	into table t1
    fields terminated by ','
    ignore 1 lines;
    
 Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement


1190.3411
3
关注作者
收藏
评论(3)

发表评论
推荐帖子
条评论