#/bin/bash
echo "import start"
mysql -h192.168.2.93 -uroot -preachauto bcm-pf -P3306 --local-infile=1 -e "load data local infile '/data/houzhq/shell/exception_code.csv' into table exception_code character set utf8 FIELDS TERMINATED BY ',' (exception_name,@dummy,exception_code,@dummy)"
linux shell脚本本地文件put到mysql
最新推荐文章于 2021-12-10 22:30:58 发布