4

I recently installed phpMyAdmin on RHEL with PHP 5.6.4 and MySQL 8 but but when I try to access it from the browser the following errors occur:

mysqli_real_connect(): Server sent charset (255) unknown to the client. Please, report to the developers

Can someone please let me know if you have come across similar error and any luck resolving it?

I have tried adding the below code on my.cnf file but that didn't help. Doing below worked for someone who was using PHP 7 but didn't work for me.

[client]
default-character-set=utf8

[mysql]
default-character-set=utf8

[mysqld]
collation-server = utf8_unicode_ci
character-set-server = utf8
Gaurav Piya
  • 41
  • 1
  • 3
  • Possible duplicate of [PDO::\_\_construct(): Server sent charset (255) unknown to the client. Please, report to the developers](https://stackoverflow.com/questions/43437490/pdo-construct-server-sent-charset-255-unknown-to-the-client-please-rep) – user272735 May 04 '18 at 05:29
  • Which phpMyAdmin version are you using? – Isaac Bennetch May 04 '18 at 18:17
  • Hello @Gaurav, where you able to solve this - am having a similar error and wondering if you resolved it? – Siwoku Adeola Sep 13 '20 at 02:55

0 Answers0