db2同步數據到db2python
1.從github下載源碼:git
git clone https://github.com/alibaba/DataX.git
2.maven編譯並打包github
mvn -U clean package assembly:assembly -Dmaven.test.skip=true
3.打包完成後的目錄結構以下json
4. 下載db2 jdbc驅動 bash
https://mvnrepository.com/artifact/com.ibm.db2.jcc/db2jcc4/10.1
5.將驅動包放入lib目錄下maven
6.執行spa
python datax.py <同步的json配置文件目錄>/db2.json