Hello, guys.
I’m trying to run an ojs-3_1_1-4 version on my machine - it’s my first attempt with this project - and always got the following error after submit the ‘ojs installation’ page:
Errors occurred during installation
A database error has occurred: Server sent charset unknown to the client. Please, report to the developers
I’m trying to use Lucas Diedrich’s repository. I already tried to comment all volume information from pkp-ojs service, which gives me a default config.inc.php file with:
client_charset = utf-8
connection_charset = Off
database_charset = Off
but also tried to define a config/ojs.config.inc.php file which is synchronized by a volume that gives me this configurations:
client_charset = utf-8
connection_charset = uft8
database_charset = uft8
and left all other configs the same way of the default template, but still got the same error.
I also tried the marcbria/docker4ojs repository, and got the same error
Looking for the character encoding troubleshooting guide I executed the instructions show variables like ‘char%’;
and show variables like ‘collation%’;
on my mysql container that gave me the results
±-------------------------±-------------------------------+
| Variable_name | Value |
±-------------------------±-------------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | utf8mb4 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | utf8mb4 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql-8.0/charsets/ |
±-------------------------±-------------------------------+
±---------------------±-------------------+
| Variable_name | Value |
±---------------------±-------------------+
| collation_connection | latin1_swedish_ci |
| collation_database | utf8mb4_0900_ai_ci |
| collation_server | utf8mb4_0900_ai_ci |
±---------------------±-------------------+
I think the problem isn’t on the docker images/composes from this two repositories, I guess is some configuration that I don’t realize yet since the mysql container is running on default configurations, that’s because I’m searching for help here and not on these repositories.
Someone can help me?