<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Error when Preparing the Cloudera Manager Server Database in Cloudera Manager 6.3.1 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-when-Preparing-the-Cloudera-Manager-Server-Database-in/m-p/295395#M217718</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75200"&gt;@Mondi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Cloudera community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "com.mysql.cj.exceptions.InvalidConnectionAttributeException" in the log suggests that MySql JDBC driver version 8.x is being used. However, as pointed out by below doc, we recommend using only version 5.1 of the JDBC driver.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/latest/topics/cm_ig_mysql.html#cmig_topic_5_5_3" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/latest/topics/cm_ig_mysql.html#cmig_topic_5_5_3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please&amp;nbsp;download the one from &lt;A href="https://dev.mysql.com/downloads/connector/j/5.1.html" target="_blank"&gt;https://dev.mysql.com/downloads/connector/j/5.1.html&lt;/A&gt; and then install it in /usr/share/java. After that, retry the command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and hope this helps!&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 18:56:33 GMT</pubDate>
    <dc:creator>lwang</dc:creator>
    <dc:date>2020-05-04T18:56:33Z</dc:date>
    <item>
      <title>Error when Preparing the Cloudera Manager Server Database in Cloudera Manager 6.3.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-Preparing-the-Cloudera-Manager-Server-Database-in/m-p/295308#M217677</link>
      <description>&lt;P&gt;I am encountering this error when I'm executing this command : /opt/cloudera/cm/schema/scm_prepare_database.sh mysql cloudera_manager_db cloudera_db&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enter SCM password:&lt;BR /&gt;JAVA_HOME=/usr/lib/jvm/java-openjdk&lt;BR /&gt;Verifying that we can write to /etc/cloudera-scm-server&lt;BR /&gt;Creating SCM configuration file in /etc/cloudera-scm-server&lt;BR /&gt;Executing: /usr/lib/jvm/java-openjdk/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/java/postgresql-connector-java.jar:/opt/cloudera/cm/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db.&lt;BR /&gt;Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.&lt;BR /&gt;[ main] DbCommandExecutor ERROR Error when connecting to database.&lt;BR /&gt;java.sql.SQLException: The server time zone value 'CDT' 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.&lt;BR /&gt;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)&lt;BR /&gt;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)&lt;BR /&gt;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)&lt;BR /&gt;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)&lt;BR /&gt;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)&lt;BR /&gt;at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:76)&lt;BR /&gt;at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)&lt;BR /&gt;at com.mysql.cj.jdbc.ConnectionImpl.&amp;lt;init&amp;gt;(ConnectionImpl.java:456)&lt;BR /&gt;at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)&lt;BR /&gt;at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:197)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:664)&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:247)&lt;BR /&gt;at com.cloudera.enterprise.dbutil.DbCommandExecutor.testDbConnection(DbCommandExecutor.java:263)&lt;BR /&gt;at com.cloudera.enterprise.dbutil.DbCommandExecutor.main(DbCommandExecutor.java:139)&lt;BR /&gt;Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'CDT' 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.&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;BR /&gt;at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)&lt;BR /&gt;at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:85)&lt;BR /&gt;at com.mysql.cj.util.TimeUtil.getCanonicalTimezone(TimeUtil.java:132)&lt;BR /&gt;at com.mysql.cj.protocol.a.NativeProtocol.configureTimezone(NativeProtocol.java:2120)&lt;BR /&gt;at com.mysql.cj.protocol.a.NativeProtocol.initServerSession(NativeProtocol.java:2143)&lt;BR /&gt;at com.mysql.cj.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:1310)&lt;BR /&gt;at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:967)&lt;BR /&gt;at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:826)&lt;BR /&gt;... 7 more&lt;BR /&gt;[ main] DbCommandExecutor ERROR Exiting with exit code 4&lt;BR /&gt;--&amp;gt; Error 4, giving up (use --force if you wish to ignore the error)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already installed a mysql connector in java : mysql-connector-java.jar&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:36:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-Preparing-the-Cloudera-Manager-Server-Database-in/m-p/295308#M217677</guid>
      <dc:creator>Mondi</dc:creator>
      <dc:date>2022-09-16T14:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error when Preparing the Cloudera Manager Server Database in Cloudera Manager 6.3.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-Preparing-the-Cloudera-Manager-Server-Database-in/m-p/295395#M217718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75200"&gt;@Mondi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Cloudera community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "com.mysql.cj.exceptions.InvalidConnectionAttributeException" in the log suggests that MySql JDBC driver version 8.x is being used. However, as pointed out by below doc, we recommend using only version 5.1 of the JDBC driver.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/latest/topics/cm_ig_mysql.html#cmig_topic_5_5_3" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/6/latest/topics/cm_ig_mysql.html#cmig_topic_5_5_3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please&amp;nbsp;download the one from &lt;A href="https://dev.mysql.com/downloads/connector/j/5.1.html" target="_blank"&gt;https://dev.mysql.com/downloads/connector/j/5.1.html&lt;/A&gt; and then install it in /usr/share/java. After that, retry the command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and hope this helps!&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 18:56:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-Preparing-the-Cloudera-Manager-Server-Database-in/m-p/295395#M217718</guid>
      <dc:creator>lwang</dc:creator>
      <dc:date>2020-05-04T18:56:33Z</dc:date>
    </item>
  </channel>
</rss>

