I am trying to use phpMyAdmin to access a remote MySQL database so I created a config.inc.php file (copying config.sample.inc.php) and added a server. Now this other server appear as an option in the login page but when connecting I receive this error: MySQL said #1115 - Unknown character set: 'utf8mb4'. Is there a workaround? Is there a configuration I can set? Any help highly appreciated.
OPEN
C:\wamp\apps\phpmyadmin4.1.14\libraries\DatabaseInterface.class.php
search for 'utf8mb4'
and replace it with 'utf8'
in two consecutive lines like below
$default_charset = 'utf8';
$default_collation = 'utf8_general_ci';
Edit the following files:
<install path>/libraries/DatabaseInterface.class.php
<install path>/libraries/mysql_charsets.lib.php
And change all instances of 'utf8mb4' to 'utf8'.
It seems to have worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With