Communications link failure during commit MySQL

Highlighted
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
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

All Replies
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

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 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch