Openshift MySQL “Communications Link Failure”
问题 I get the following error message when trying to connect a web app running on EAP6 to MySQL in OpenShift. javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Communications link failure How do I fix this? 回答1: The same issue was discussed at https://community.jboss.org/thread/202318. The solution is to append "?autoReconnect=true" to the connection URL. You do this in the standalone.xml file, found in the .openshift/config folder in your OpenShift Maven