MySql timeouts - Should I set autoReconnect=true in Spring application?
- by George
After periods of inactivity on my website (Using Spring 2.5 and MySql), I get the following error:
org.springframework.dao.RecoverableDataAccessException: The last packet sent successfully to the server was 52,847,830 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing…