在MySQL Workbench中导入csv数据

新建表之后,使用load data infile插入数据却报错

Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

还是直接点插入快点

在编辑表的界面选择import records from an external file图标

 

 选择csv文件

 

 选择已经建立的表或者新建一个表,不出意外的话之后一直点next就好了

 

posted @ 2020-06-19 10:37  sly_blue  阅读(2669)  评论(0)    收藏  举报