wamp服务器错误#2002错误无法打开phpMyAdmin

Leb*_*Dev 4 php mysql error-handling wampserver

我已经安装了wamp服务器 ,我工作得很好,但现在我尝试打开phpMyAdmin, 但服务器显示此错误

**错误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)
Run Code Online (Sandbox Code Playgroud)

小智 5

你需要做的就是

  • 首先退出你的wampserver
  • 然后转到"C:\ wamp\bin\mysql\mysql5.6.17\data"
  • 注意:不要删除文件夹,重要的是删除除文件夹之外的所有文件
  • 之后不要关闭"C:\ wamp\bin\mysql\mysql5.6.17\data"
  • 现在再次打开wampserver并等到wampserver托盘变为绿色

就是这样!