{"action":"opened","issue":{"url":"https://api.github.com/repos/alibaba/druid/issues/2636","repository_url":"https://api.github.com/repos/alibaba/druid","labels_url":"https://api.github.com/repos/alibaba/druid/issues/2636/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/druid/issues/2636/comments","events_url":"https://api.github.com/repos/alibaba/druid/issues/2636/events","html_url":"https://github.com/alibaba/druid/issues/2636","id":331111611,"node_id":"MDU6SXNzdWUzMzExMTE2MTE=","number":2636,"title":"druid版本1.1.1出现ERROR c.alibaba.druid.pool.DruidDataSource - discard connection","user":{"login":"jungleming","id":11751543,"node_id":"MDQ6VXNlcjExNzUxNTQz","avatar_url":"https://avatars2.githubusercontent.com/u/11751543?v=4","gravatar_id":"","url":"https://api.github.com/users/jungleming","html_url":"https://github.com/jungleming","followers_url":"https://api.github.com/users/jungleming/followers","following_url":"https://api.github.com/users/jungleming/following{/other_user}","gists_url":"https://api.github.com/users/jungleming/gists{/gist_id}","starred_url":"https://api.github.com/users/jungleming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jungleming/subscriptions","organizations_url":"https://api.github.com/users/jungleming/orgs","repos_url":"https://api.github.com/users/jungleming/repos","events_url":"https://api.github.com/users/jungleming/events{/privacy}","received_events_url":"https://api.github.com/users/jungleming/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T09:29:45Z","updated_at":"2018-06-11T09:29:45Z","closed_at":null,"author_association":"NONE","body":"使用druid版本1.1.1，闲置一段时间出现以下错误\r\nERROR c.alibaba.druid.pool.DruidDataSource - discard connection\r\ncom.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 63,213,665 milliseconds ago.  The last packet sent successfully to the server was 63,213,666 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.\r\n请问是什么原因导致的，还望能协助解决一下"}}
{"actor":{"display_login":"jungleming"}}