可以看这个帖子
修改mysql里面的my.ini文件后,如果让这个改动生效?_CDA答疑社区 https://www.cda.cn/discuss/post/details/6030560a11798b0e5719aa08
我的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
在第一节基础上 更新了函数和执行顺序:实操了字符数函数、时间函数、字段截取函数、interval函数等,除最后顺序实操因未导入数据库,导致无法执行