1.准备本地文件(pet.txt)
2.在CMD中启动mysql服务,然后输入以下命令导入(pet.txt)
load data local infile ‘路劲‘ into table pet;
3.查看是否导入成功
select * from pet;
标签:txt img class load data com mys sele div log
1.准备本地文件(pet.txt)
2.在CMD中启动mysql服务,然后输入以下命令导入(pet.txt)
load data local infile ‘路劲‘ into table pet;
3.查看是否导入成功
select * from pet;
标签:txt img class load data com mys sele div log
原文地址:https://www.cnblogs.com/zxzx1/p/10745705.html