我已经安装了瓦普服务器我工作得很好,但现在我尝试打开php我的管理员但服务器显示此错误
**错误
MySQL 说: 文档
2002 - 无法建立连接,因为目标计算机主动拒绝连接。
服务器没有响应(或者本地服务器的套接字配置不正确)。**
谁能帮我 ????
mysql.log
130816 10:30:30 [Note] Plugin 'FEDERATED' is disabled.
130816 10:30:30 InnoDB: The InnoDB memory heap is disabled
130816 10:30:30 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130816 10:30:30 InnoDB: Compressed tables use zlib 1.2.3
130816 10:30:30 InnoDB: Initializing buffer pool, size = 128.0M
130816 10:30:30 InnoDB: Completed initialization of buffer pool
130816 10:30:30 InnoDB: highest supported file format is Barracuda.
130816 10:30:32 InnoDB: Waiting for the background threads to start
130816 10:30:33 InnoDB: 1.1.8 started; log sequence number 6780464
130816 10:30:34 [Note] Server hostname (bind-address): '(null)'; port: 3306
130816 10:30:34 [Note] - '(null)' resolves to '::';
130816 10:30:34 [Note] - '(null)' resolves to '0.0.0.0';
130816 10:30:34 [Note] Server socket created on IP: '0.0.0.0'.
130816 10:30:35 [Note] Event Scheduler: Loaded 0 events
130816 10:30:35 [Note] wampmysqld: ready for connections.
Version: '5.5.24-log' socket: '' port: 3306 MySQL Community Server (GPL)
130816 10:31:48 [Note] wampmysqld: Normal shutdown
130816 10:31:48 [Note] Event Scheduler: Purging the queue. 0 events
130816 10:31:48 InnoDB: Starting shutdown...
130816 10:31:50 InnoDB: Shutdown completed; log sequence number 6780474
130816 10:31:50 [Note] wampmysqld: Shutdown complete
130816 10:31:51 [Note] Plugin 'FEDERATED' is disabled.
130816 10:31:51 InnoDB: The InnoDB memory heap is disabled
130816 10:31:51 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130816 10:31:51 InnoDB: Compressed tables use zlib 1.2.3
130816 10:31:51 InnoDB: Initializing buffer pool, size = 128.0M
130816 10:31:51 InnoDB: Completed initialization of buffer pool
130816 10:31:51 InnoDB: highest supported file format is Barracuda.
130816 10:31:52 InnoDB: Waiting for the background threads to start
130816 10:31:53 InnoDB: 1.1.8 started; log sequence number 6780474
130816 10:31:53 [Note] Server hostname (bind-address): '(null)'; port: 3306
130816 10:31:53 [Note] - '(null)' resolves to '::';
130816 10:31:53 [Note] - '(null)' resolves to '0.0.0.0';
130816 10:31:53 [Note] Server socket created on IP: '0.0.0.0'.
130816 10:31:53 [Note] Event Scheduler: Loaded 0 events
130816 10:31:53 [Note] wampmysqld: ready for connections.
Version: '5.5.24-log' socket: '' port: 3306 MySQL Community Server (GPL)
您需要做的就是
- 首先退出你的wampserver
- 然后进入“C:\wamp\bin\mysql\mysql5.6.17\data”
- 注意:不要删除文件夹,重要的是删除除文件夹之外的所有文件
- 之后不要关闭“C:\wamp\bin\mysql\mysql5.6.17\data”
- 现在再次打开 wampserver 并等待 wampserver 托盘变成绿色
就是这样!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)