将PDO连接中的dsn的host由“localhost”改为“127.0.0.1”即可
pdo mysql连接时报[2002] No such file or directory
猜你喜欢
转载自blog.csdn.net/elesos/article/details/81128826
今日推荐
周排行