The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] MySQLNonTransientConnectionException
Hello,
I'm using the "Stream Database" operator to get a large table from mysql.
When I try to view the lower rows of the table in the result view or plot something, I get:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Cannot retrieve data from database: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
I'm on Mac OS X 10.8.3
Any ideas how to fix this?
Thanks!
I'm using the "Stream Database" operator to get a large table from mysql.
When I try to view the lower rows of the table in the result view or plot something, I get:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Cannot retrieve data from database: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
I'm on Mac OS X 10.8.3
Any ideas how to fix this?
Thanks!
0
Answers
Obviously it is a bug, and until it is fixed I suggest you use the Materialize Data operator directly before passing the data to the process output. That will get the complete data such that it can be displayed in the results view.
This has the drawback that you'll have the complete data in memory. If that is too much, you could use the Sample operator prior to Materialize Data.
Concerning the exception I will create an internal bug report.
Please let me know if you have any further questions.
Best regards,
Marius
Your ideas are working and enabled me to create a quick fix at this stage.
Will appreciate being notified if possible when a new version with a full fix is available.
Best,
Avi.