一个数据报备的功能,某一天突然挂了,报了这个异常。求大神指点,很懵,第一个线上问题。刚工作几个月
Ls_SS 2017-02-07 06:48:05 org.springframework.dao.RecoverableDataAccessException: ### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 27,991 milliseconds ago. The last packet sent successfully to the server was 43,833 milliseconds ago. ### The error may exist in file [/app/appuser/tools/classes/com/tools/dao/TranMDetailReportMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT id as match_detail_id, investor_apply_id , loanee_apply_id, match_amount FROM t_zp_match_detail a WHERE a.MODIFIEDON >= ? AND a.MATCH_AMOUNT_STATUS='3' AND a.PRE_INVESTOR_APPID='-1' AND a.id >? ORDER BY a.id LIMIT ?; ### Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 27,991 milliseconds ago. The last packet sent successfully to the server was 43,833 milliseconds ago. ; SQL []; Communications link failure The last packet successfully received from the server was 27,991 milliseconds ago. The last packet sent successfully to the server was 43,833 milliseconds ago.; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 27,991 milliseconds ago. The last packet sent successfully to the server was 43,833 milliseconds ago.