1. Download and install the tar package from the official website
Datax. tar
2. Decompression

3. View configuration template
My requirement is to import from SQL server (reader) to MySQL (writer).
View the template for the configuration of SQL Server
View the template for MySQL configuration.
4. Configure
Enter the job directory, create a new file (you can name it after the table you want to import)
5.
python /opt/datax/bin/datax.py -r sqlserverreder -w mysqlwriter
6. Start importing data.
python /opt/datax/bin/datax.py /opt/datax/job/ep_companyinfo.json
7. Can view logs.
[root@sh_m_03 2021-07-15]# pwd
/opt/datax/log/2021-07-15
