0
I am configuring my environment using wildfly 14.0.1.Final and mysql-Connector-java-8.0.13.
I have the following error when I set up the Connection profile and do a connection test:
java.sql.Sqlexception: The server time zone value 'Brazilian daylight saving time' 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.
My datasource in the standalone.xml file:
<datasource jndi-name="java:jboss/datasources/MySQL-DS" pool-name="MySQL" enabled="true" use-java-context="true">
<connection-url>jdbc:mysql://localhost:3306/pegasus?useTimezone=true&serverTimezone=Brazil/East</connection-url>
<driver>mysql</driver>
<security>
<user-name>pegasus_admin</user-name>
<password>pegasus_admin</password>
</security>
</datasource>