phpmyadmin上传到网站目录后提示解决phpmyadmin mysqli_real_connect(): (HY000/2002): No such file or directory的错误,解决方法把phpmyadmin目录中的配置文件config.sample.inc.php改成config.inc.php 
打开编辑config.inc.php 
找到: 
$cfg['Servers'][$i]['host'] = 'localhost'; 
改成: 
$cfg['Servers'][$i]['host'] = '127.0.0.1'; 
再次刷新页面就不会出现mysqli_real_connect(): (HY000/2002): No such file or directory的错误提示了。

相关文章:

  • 2021-08-23
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2021-10-09
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2021-10-10
  • 2021-11-29
  • 2021-08-08
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案