title: Wildfly enable datasource statistics returns "JBAS014792: Unknown attribute statistics-enabled"
body: <p>When I try to enable the statistic for a mysql datasource in wildfly it throws me the following error:</p>
  
  <pre><code>Internal Server Error
  {
      "outcome" =&gt; "failed",
      "result" =&gt; {"step-1" =&gt; {
          "outcome" =&gt; "failed",
          "failure-description" =&gt; "JBAS014792: Unknown attribute statistics-enabled",
          "rolled-back" =&gt; true
      }},
      "failure-description" =&gt; {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" =&gt; {"Operation step-1" =&gt; "JBAS014792: Unknown attribute statistics-enabled"}},
      "rolled-back" =&gt; true
  }
  </code></pre>
  
  <p>I use a normal mysql datasource which works without troubles. What can be wrong here?</p>
  
  <p>Environment:</p>
  
  <ul>
  <li>java: 1.8.0_25</li>
  <li>Wildfly 8.2.0.Final</li>
  <li>mysql: mysql-connector-java-5.1.35-bin.jar</li>
  </ul>