为什么phpmyadmin显示此错误?

时间:2018-06-20 11:30:27

标签: phpmyadmin

Pleasevrefer to the image in the link我在登录phpmyadmin“无法登录到MySQL服务器”时遇到问题,还显示“ mysqli_real_connect():服务器向客户端发送了未知的字符集(255)。请向开发人员报告”和“ mysqli_real_connect” ():(HY000 / 2054):服务器向客户端发送了未知的字符集。请向开发人员报告”。为什么会显示此错误?我已经安装了php,apache 5.6,mysql 8.0.11服务器和工作区以及visual studio 2015。

我已经通过将端口从80更改为81进行了检查。我也尝试在config.inc.php文件中进行更改

enter code here

    $cfg['Servers'][$i]['host'] = '127.0.0.1:81';
    $cfg['Servers'][$i]['compress'] = false;
    $cfg['Servers'][$i]['AllowNoPassword'] = true;

    $cfg['Servers'][$i]['controlhost'] = '';
    $cfg['Servers'][$i]['controlport'] = '';
    $cfg['Servers'][$i]['controluser'] = 'root';
    $cfg['Servers'][$i]['controlpass'] = '';

0 个答案:

没有答案
相关问题