for file in ./tmp_data/*
do 
echo $file
mysql  -u'root' -p'wangbin' --default-character-set=utf8  -e"load data local infile '$file' into table yiche.yiche_core fields terminated by ',' lines terminated by '\n';"
rm -rf $file
done

 

相关文章:

  • 2021-11-30
  • 2021-07-14
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-04-07
  • 2021-12-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-10-24
  • 2021-10-12
  • 2021-11-21
  • 2022-12-23
相关资源
相似解决方案