After upgrading to Strategy 2019 Update 2, configuring Platform Analytics results in an error.
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:
yum -y update
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.
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