Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem with import Fact MySQL

Hi how are you?

please i need help i hav this error : com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after statement closed

can some one help me

Thanks you

Labels (3)
1 Solution

Accepted Solutions
lojdr
Creator II
Creator II

Hello Hicham29,

 

Do you use the "autoReconnect=true" in JDBC Parameters?

What is the value of the wait_timeout" MySQL server parameter? Can it be raised?

There are 2 parameters in Advanced settings: 

  • Number of rows per insert
  • Commit every

0683p000009LrxK.png

 

 

 

 

 

 

Try to play with these parameters (lower the "Commit every" and raise the "Number of rows...", but still use the Additional JDBC Parameters recommended previously).

Please be aware, that it may have an impact on performance.

 

It also can be an issue with the network, but please check the recommendation above first.

 

Regards

lojdr

View solution in original post

5 Replies
lojdr
Creator II
Creator II

Hello Hicham29,

 

The same problem was solved here:
https://community.talend.com/t5/Design-and-Development/Keeping-MySQL-DB-connection-alive/td-p/59801

 

Were you able to find a solution with the thread above?

 

Regards
lojdr

Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Hi lojdr,

 

Thanks you for response, he give me another error can please help me i'm beginner in talend

 

thanks you


ice_screenshot_20180102-110356.png
ice_screenshot_20180102-110421.png
lojdr
Creator II
Creator II

Hello Hicham29,

 

Do you use the "autoReconnect=true" in JDBC Parameters?

What is the value of the wait_timeout" MySQL server parameter? Can it be raised?

There are 2 parameters in Advanced settings: 

  • Number of rows per insert
  • Commit every

0683p000009LrxK.png

 

 

 

 

 

 

Try to play with these parameters (lower the "Commit every" and raise the "Number of rows...", but still use the Additional JDBC Parameters recommended previously).

Please be aware, that it may have an impact on performance.

 

It also can be an issue with the network, but please check the recommendation above first.

 

Regards

lojdr

Anonymous
Not applicable
Author

thanks you so muuch