Communications link failure during commit MySQL

Six Stars

Communications link failure during commit MySQL

Hi friends,

Can someone help me please i have error in my job :

Spoiler
Exception in component tMysqlOutput_1 (Fact_test)
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during commit(). Transaction resolution unknown.

i'm beginner in talend i need help

thanks you so much


Accepted Solutions
Highlighted
Eight Stars

Re: Communications link failure during commit MySQL

Hello,

this looks like network or MySQL Server related issue. Check if your network is stable between the Talend computer and MySQL, check if MySQL is in the correct state. Check if there are any performance issues on the MySQL server side.
This may happen if you have big tables, slow disk operations and a huge amount of data you want to insert. This may cause performance issue which leads to e.g. timeouts.
Another option. You can try is to generate e.g. CSV file with data you want to import and then use Bulk Import.

Regards
lojdr

View solution in original post


All Replies
Highlighted
Eight Stars

Re: Communications link failure during commit MySQL

Hello,

this looks like network or MySQL Server related issue. Check if your network is stable between the Talend computer and MySQL, check if MySQL is in the correct state. Check if there are any performance issues on the MySQL server side.
This may happen if you have big tables, slow disk operations and a huge amount of data you want to insert. This may cause performance issue which leads to e.g. timeouts.
Another option. You can try is to generate e.g. CSV file with data you want to import and then use Bulk Import.

Regards
lojdr

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog