We are having the MYSQL RDS instance running on AWS with Server version 5.6.21. We are having the JAVA application which uses this RDS MYSQL DB using java connector driver mysql-connector-java:5.1.34 and C3P0 ComboPooledDataSource connection pooling mechanism. We are getting SQL Exception intermittently when inserting the data into MYSQL table. The error is "java.sql.SQLException: Could not retrieve transaction read-only status server". Could you please help us here what could be the best approach to resolve this error?
↧