Environment
The issue occurs in this environment:
- The operating system on which FlexNet Code Insight and its associated database is installed is CentOS 7 or RHEL 7.
- The Code Insight database is MySQL version 8.
Symptoms
When you use the FlexNet Code Insight installer to install the latest version of Code Insight on a Linux machine, an error related to the database connection can occur even though the database log-in credentials provided during installation are valid.
To view the error description in a Code Insight installer log, open the attached file.
Diagnosis
MySQL 8 uses a set of time zone values that are different from values used by CentOS and RHEL. For example, MySQL8 uses time zone values that include “PDT”, “CST”, and so forth, whereas Centos and RHEL use named time zones such as “America/Chicago” and “Europe/Lisbon”.
Solution
The MySQL time-zone tables must be populated with named time-zone values from the publicly available “zoneinfo” (or “tzinfo”) database used by computers and operating systems internationally. Once these tables are populated, you can configure MySQL with the named time zone appropriate for your location.
To populate MySQL time-zone tables and reconfigure the MySQL time zone, do the following:
- From the machine on which the MySQL resides, run the following command to populate the MySQL time zone tables:
mysql_tzinfo_to_sql /usr/share/zoneinfo/|mysql -u root mysql -p - To reconfigure the MySQL time zone, open the my.cnf file in your MySQL installation, and edit the "default_time_zone" line to reflect the named time zone appropriate for your location:
default_time_zone="America/Los_Angeles"
This example uses the America/Los_Angeles named time zone. To help you locate the appropriate time zone for your MySQL installation, click here:
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - Save my.cnf.
- Restart MySQL to apply the changes.
Related Articles
JRE libraries are missing or not compatible error during FlexNet Code Insight installation 5Number of Views External connections in FlexNet Code Insight 2018 R3 15Number of Views FlexNet Code Insight database connector installer instructions 5Number of Views FlexNet Code Insight 2018 R3 cannot get updated openfile limits during installation on RedHat 7 4Number of Views Is it possible to connect to Docker on Linux from FlexNet Code Insight 2017 R3 SP1 on Windows? 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago