I am getting Server sent charset unknown error during setting up magento 2.1.9 on localhost.

PHP version - 5.6 or 7.1, MySQL version - 8.0

I tried to add in my.cnf



collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8

but it is not working.

Is there any other fix for the issue?

  • have you tried commenting this char-sets? – Yash Patadia Mar 26 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.