title: Grails 2.3.11 MySql disconnecting
body: <p>The MySql connector I am using disconnects after about 5 hours. I cant seem to figure out why.
  Here is my configurations:</p>
  
  <pre><code> production {
      dataSource {
          dbCreate = "update" // one of 'create', 'create-drop','update'
          driverClassName = "com.mysql.jdbc.Driver"
          username = "user"
          password = "pass"
          url = "jdbc:mysql://localhost/app?autoReconnect=true&amp;characterEncoding=utf8"
          flush.mode = 'commit'
          initialSize = 5
          maxActive = 50
          minIdle = 5
          maxIdle = 25
          maxWait = 10000
          maxAge = 10 * 60000
          timeBetweenEvictionRunsMillis = 5000
          minEvictableIdleTimeMillis = 60000
          validationQuery = "SELECT 1"
          validationQueryTimeout = 3
          validationInterval = 15000
          testOnBorrow = true
          testWhileIdle = true
          testOnReturn = false
      }
  }
  </code></pre>
  
  <p>any ideas?</p>