Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

warning apache error.log


I have a problem in the apache error logs. I have this error:

DBD::mysql::db do failed: Illegal mix of collations 
(latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for 
operation '=' at 
 line 46.

 Can you tell me how to fix it?
 thank you

in OCS Inventory NG server for Unix by (330 points)

2 Answers

0 votes
On OCS 2.5 installed on Ubuntu 18.04.1, the perl version is 5.26.1. Perhaps the perl cache handling on older versions has a problem?

It's a nuclear option, but you could backup your database and retry ocs server installation with newer version of perl.
by (170 points)
0 votes

Just adapt collation on the database. Set all collation to utf8.


by (70.2k points)
Powered by Question2Answer