1.准备本地文件(pet.txt)

  mysql导入本地文件(作业)

2.在CMD中启动mysql服务,然后输入以下命令导入(pet.txt)

  load data local infile '路劲' into table pet;

  mysql导入本地文件(作业)

3.查看是否导入成功

  select * from pet;

  mysql导入本地文件(作业)

 

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2021-09-06
猜你喜欢
  • 2021-10-03
  • 2021-04-24
  • 2021-08-15
  • 2022-12-23
  • 2021-06-08
  • 2021-11-30
  • 2021-12-27
相关资源
相似解决方案