标签:上传 sql sqli amp cto min 目录 编辑 页面
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的错误提示了。
phpmyadmin提示mysqli_real_connect(): (HY000/2002): No such file or directory错误的解决办法
标签:上传 sql sqli amp cto min 目录 编辑 页面
原文地址:https://www.cnblogs.com/chengfengchi/p/11621716.html