将Excel数据导入MySQ

来源:互联网 发布:通信网络维护 编辑:程序博客网 时间:2024/06/06 00:21

Excel格式(不需要表头)

另存为cvs格式,注意编码

表结构


点击导入按钮,选择转化的cvs格式文件;


或在MySQL中输入 load data local infile '[你的csv文件路径]' into table [表名] fields terminated by ',';

0 0