Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-202

java.sql.SQLException: The server time_zone 'EDT' cannot be parse by java connector.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 1.3.0
    • 1.2.3
    • Other
    • None

    Description

      Opening a simple connection to MariaDB using current development driver (1.3.0-20150928.170949-11) leads to an exception (works fine with 1.2.3):

      java.sql.SQLException: The server time_zone 'EDT' cannot be parse by java connector. The server time zone must be precised in the jdbc url string by the 'serverTimezone' parameter (or change server time zone)
      at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:547)
      at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connectWithoutProxy(MySQLProtocol.java:770)
      at org.mariadb.jdbc.internal.common.Utils.retrieveProxy(Utils.java:506)
      at org.mariadb.jdbc.Driver.connect(Driver.java:102)
      at java.sql.DriverManager.getConnection(DriverManager.java:571)
      at java.sql.DriverManager.getConnection(DriverManager.java:215)
      at com.expretio.mavenproject5.TestSuite.testMariaDB(TestSuite.java:120)

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            cbourque Christian Bourque
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.