Hi.
I’m using Ignition 7.8.5 with MySQL 5.6 and the MySQL Connector Java 5.1.23. When I tried to watch a trend, the easy chart get a fault and the worst case was gateway restarted. I checked the log and found this:
INFO | jvm 2 | 2021/11/24 11:03:38 | ERROR [QueryResultWriter ] [11:03:38,323]: Error executing historical tag read.
INFO | jvm 2 | 2021/11/24 11:03:38 | com.inductiveautomation.ignition.gateway.datasource.FaultedDatabaseConnectionException: The database connection ‘db_energia_hist’ is FAULTED. See Gateway Status for details.
INFO | jvm 2 | 2021/11/24 11:03:38 | at com.inductiveautomation.ignition.gateway.datasource.DatasourceManagerImpl.getConnectionImpl(DatasourceManagerImpl.java:173)
INFO | jvm 2 | 2021/11/24 11:03:38 | at com.inductiveautomation.ignition.gateway.datasource.DatasourceImpl.getConnection(DatasourceImpl.java:194)
INFO | jvm 2 | 2021/11/24 11:03:38 | at com.inductiveautomation.ignition.gateway.datasource.DatasourceManagerImpl.getConnection(DatasourceManagerImpl.java:116)
INFO | jvm 2 | 2021/11/24 11:03:38 | at com.inductiveautomation.gateway.tags.history.processing.GatewayContextConnectionProvider.getConnection(GatewayContextConnectionProvider.java:31)
INFO | jvm 2 | 2021/11/24 11:03:38 | at com.inductiveautomation.gateway.tags.history.processing.GatewayContextConnectionProvider.getConnection(GatewayContextConnectionProvider.java:10)
The query in easy chart works, because I see the data. But the easy chart is holding in “loading” and after minutes gets the fault (database without connection). So I write a script in python to get the data from historical database and the result is more than 1804754 records.
Is there any suggestion to configure in easychart?