title: MySQL connector error "The server time zone value Central European Time"
body: <p><strong>My problem</strong></p>
  
  <p>MySQL connector "The server time zone value Central European Time" is unrecognized or represents more than one time zone.</p>
  
  <p><strong>The project</strong></p>
  
  <p>Small web Project with:
  JavaEE, Tomcat 8.5, MySQL, Maven</p>
  
  <p><strong>My attempt</strong></p>
  
  <ul>
  <li>Maven -> change MySQL-connector form 6.x to 5.1.39 (no change)</li>
  <li>Edit context.xml URL change</li>
  </ul>
  
  <p>Connection in context.xml</p>
  
  <p>URL="jdbc: mysql://127.0.0.1:3306/rk_tu_lager?<strong>useLegacyDatetimeCode=false;serverTimezone=CEST;useSSL=false;</strong></p>
  
  <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>Caused by:
    com.mysql.cj.core.exceptions.InvalidConnectionAttributeException:  The
    server time zone value 'Mitteleurop?ische Sommerzeit' is unrecognized
    or  represents more than one time zone. You must configure either the
    server or JDBC driver (via the serverTimezone configuration property)
    to use a more specifc time zone value if you want to utilize time zone
    support.</p>
  </blockquote>