Summary
This article documents the procedure for modifying the database collation rules to match the prerequisites of FlexNet Code Insight which require the use of 'utf8_general_ci' collationSynopsis
We have encountered a FlexNet Code Insight error when processing Auto-Writeup rules. We are running on CentOS 7 and using MySQL as database (mysql-community-server-5.6.40-2.el7.x86_64).When I reviewed the according log file (Auto-WriteUp.log.0) the following error came up:
{log-excerpt}
2018-04-26 09:01:32 INFO [com.palamida.write.AutoWriteUpGui.autorun] Loading default.properties
2018-04-26 09:01:32 INFO [com.palamida.write.AutoWriteUpGui.autorun] Loading Auto-WriteUp.properties from the Core Server
2018-04-26 09:01:32 WARNING [com.palamida.write.util.PropertyHelper.getString] Property "db.url" not found
2018-04-26 09:01:33 WARNING [com.palamida.write.util.PropertyHelper.getString] Property "db.vendor" not found
2018-04-26 09:01:33 WARNING [com.palamida.write.util.PropertyHelper.getString] Property "db.username" not found
2018-04-26 09:01:33 WARNING [com.palamida.write.util.PropertyHelper.getString] Property "db.password" not found
2018-04-26 09:01:33 WARNING [com.palamida.write.util.PropertyHelper.getString] Property "db.driver" not found
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.initialize] Loading database configuration from /opt/codeinsight/6.12.0/config/core/core.db.properties on the Palamida Scan Server
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.initialize] Fetching "db.url" from database configuration
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.initialize] Fetching "db.vendor" from database configuration
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.initialize] Fetching "db.username" from database configuration
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.initialize] Fetching "db.password" from database configuration
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.initialize] Fetching "db.driver" from database configuration
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.autorun] No user rules were specified in Auto-WriteUp.properties
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.checkScanInArchives] Archive scanning is supported for Product version 6.12.0
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.doAutoWriteUp] Auto-WriteUp groups are present, loading properties from project metadata
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.doAutoWriteUp] Retrieving scanned files
2018-04-26 09:01:33 INFO [com.palamida.write.AutoWriteUpGui.doAutoWriteUp] Archive Scanning is disabled inside Workspace Settings
2018-04-26 09:01:33 INFO [com.palamida.write.api.impl.catalog.JdbcCatalog.getOrCreateConnection] Connecting to palamida@jdbc:mysql://10.156.144.80:3306/palamida6_10
2018-04-26 09:01:33 INFO [com.palamida.write.api.impl.catalog.JdbcCatalog.getOrCreateConnection] Connection established
2018-04-26 09:01:34 INFO [com.palamida.write.api.impl.catalog.JdbcCatalog.populateTemporaryTable] Saving 285 scanned files to database
2018-04-26 09:01:35 SEVERE [com.palamida.write.AutoWriteUpGui.autorun] An exception occurred while running Auto-WriteUp
java.lang.RuntimeException: java.sql.SQLException: Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='
...
at java.lang.Thread.run(Thread.java:748)
Caused by: java.sql.SQLException: Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='
...
{log-excerpt}
Discussion
This error is caused by incorrect database collation settings. The collation settings in the my.cnf MySQL properties file need to be modified from 'utf8_unicode_ci' to 'utf8_general_ci' . This can be achieved using the following instructions:1. Shut down tomcat
2. Shut down MySQL
3. Modify the 'utf8_unicode_ci' line to 'utf8_general_ci'
4. Restart your MySQL daemon (Restart MySQL).
5. Restart tomcat
Was this helpful?
Related Articles
Illegal mix of collations Error in FlexNet Code Insight 3Number of Views FlexNet Code Insight Error on JenkinsCI plugin submit 13Number of Views FlexNet Code Insight error: 'update.socks.proxy-password' property is not encrypted 5Number of Views FlexNet Code Insight error 'Scanner webapp not found' error when executing configurePalamidaAnalyzer.groovy 3Number of Views Update from FlexNet Code Insight 6.12.1 to FlexNet Code Insight 2018 R1 3Number of Views
Revenera Assistant - Beta
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
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. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago