EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB483437: After upgrading to Update 2, configuring Platform Analytics results in an error.


Sai Pedireddi

Senior Lead, Technical Support - Toronto • Strategy


This article details how to resolve an error that appears while configuring Platform Analytics after upgrading to 2019 Update 2.

Symptom 


After upgrading to Strategy 2019 Update 2, configuring Platform Analytics results in an error.
 

platform-analytics-consumer-health-check log

06/10/2019 15:25:46.193 INFO Starting MySQL warehouse health check...06/10/2019 15:25:46.545 INFO The MySQL Connector/J 8.0 driver class is not found:com.mysql.cj.jdbc.Driver. Trying com.mysql.jdbc.Driver ...06/10/2019 15:25:46.546 ERROR The MySQL Connector/J 5.x driver class is not found: com.mysql.jdbc.Driver 06/10/2019 15:25:46.546 ERROR Please make sure 'mysql-connector-java.jar' file is available under <PLATFORM_ANALYTICS_INSTALL_DIRCTORY>/lib folder.06/10/2019 15:25:46.546 INFO Connecting to MySQL with connection url: jdbc:mysql://127.0.0.1:3306/platform_analytics_wh?rewriteBatchedStatements=true&useLegacyDatetimeCode=false&serverTimezone=UTC06/10/2019 15:25:46.547 ERROR Attempting to diagnose network connectivity issues with MySQL...06/10/2019 15:25:46.547 INFO Attempting to resolve MySQL host (127.0.0.1) to IP06/10/2019 15:25:46.554 INFO Successfully resolved 127.0.0.1 to: [127.0.0.1]06/10/2019 15:25:46.555 INFO Attempting to connect to MySQL at 127.0.0.1 on Port 3306 via Telnet06/10/2019 15:25:46.566 INFO Successfully connected to above IP/Port via Telnet.Connectivity check healthy, please check your MySQL configuration settings.06/10/2019 15:25:46.566 INFO MySQL warehouse health check result is unhealthy.*********************************************************************************06/10/2019 15:25:46.594 INFO Starting Redis server health check...06/10/2019 15:25:46.621 INFO Redis server connected:

 

Steps to Reproduce

  1. Spin up a 2019 Update 2 AWS template.
  2. Under /user/share/java, notice it shows mysql-connector-java-8.0.12.jar.
  3. Run the following command to update the Linux library/packages.
    yum -y update

  4. The error message appears.


 

Cause


After updating the Linux library/packages, the .jar file name is changed in /user/share/java.
Before updating, the file name is mysql-connector-java-8.0.12.jar. After the update, the file name is mysql-connector-java.jar. When you navigate to the Platform Analytics folder, the symbolic link is still pointing to mysql-connector-java-8.0.12.jar, which causes the error message.
 

Solution


To resolve the error, update the .jar file listed in the symbolic link.
To update the link, run the following command:

-nfs /usr/share/java/mysql-connector-java.jar mysql-connector-java.jar

 


Comment

0 comments

Details

Knowledge Article

Published:

July 1, 2019

Last Updated:

July 1, 2019