- -96
- 准备重回网络的欲望一天比一天强,现在已经开始着手为回到网络后的工作做准备。今天在我W7本地搭建PHP+MYSQL环境,采用的XAMPP组件,安装MYSQL时候出现“#2002 - 服务器没有响应 (或者本地 MySQL 服务器的套接字没有正确配置)”错误,于是乎找解决的办法。
解决办法如下:
要将 config.inc.php 中
$cfg['Servers'][$i]['host'] = 'localhost';
改成 $cfg['Servers'][$i]['host'] = '127.0.0.1';
还要添加
$cfg['Servers'][$i]['hide_db'] = 'information_schema';
问题解决,继续下一步调试。本文地址:http://www.itbulu.com/blog/434.html
本文位置:ItBuLu's Blog-[网建]网站建设-解决:#2002 - 服务器没有响应 (或者本地 MySQL 服务器的套接字没有正确配置)



3楼访客
Post:2010-9-15 21:10:12
文章来自: ItBuLu's Blog 详细参考:http://www.itbulu.com/blog/435.html
2楼访客
Post:2010-9-9 10:19:40
1楼访客
Post:2010-9-6 22:00:10