title: What is difference between autoReconnect & autoReconnectForPools in MySql connector/J?
body: <p>In the configuration reference for MySql's <a href="http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html" rel="noreferrer">connector J driver</a>, a caveat emptor is issued on the use of the <strong>autoReconnect</strong> property. I followed the instructions and increased my server's <em>wait_timeout</em>. Since I am using DBCP (I am considering moving to c3po after reading several posts on Stackoverflow shooting down DBCP ), is it ok to use the <strong>autoReconnectForPools</strong> property ? What does it actually do when enabled under DBCP or any connection pool for that matter ?</p>