网上的解决方法有很多,但都无法解决我的问题,最后在stackoverflow上找到解决方法,原文地址:https://stackoverflow.com/questions/41881123/mysqli-real-connect-hy000-2002-no-such-file-or-directory
首先找到phpmyadmin的配置文件config.sample.inc.php改为config.inc.php
host配置由localhost改为127.0.0.1
原文连接:
网上的解决方法有很多,但都无法解决我的问题,最后在stackoverflow上找到解决方法,原文地址:https://stackoverflow.com/questions/41881123/mysqli-real-connect-hy000-2002-no-such-file-or-directory
首先找到phpmyadmin的配置文件config.sample.inc.php改为config.inc.php
host配置由localhost改为127.0.0.1
原文连接: