wamp服务器错误#2002错误无法打开phpMyAdmin
发布时间:2020-12-13 17:45:32 所属栏目:PHP教程 来源:网络整理
导读:我已经安装了wamp服务器,我工作得很好,但现在我尝试打开phpMyAdmin,但服务器显示此错误 **错误 MySQL说:文档 2002年 – 无法建立连接,因为目标机器主动拒绝它. 服务器没有响应(或未正确配置本地服务器的套接字).** ?谁能帮我 ???? mysql.log 130816 10:
我已经安装了wamp服务器,我工作得很好,但现在我尝试打开phpMyAdmin,但服务器显示此错误
**错误 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) 解决方法
您只需单击系统托盘中的WAMP服务器图标,然后转到mySQL和my.ini.在文本编辑器中打开文件,如记事本.在页面顶部应该有一行
socket = /tmp/mysql.sock 改变为 socket = c:/tmp/mysql.sock 保存文件并尝试运行phpmyAdmin.重启wamp.它应该完美. 如果这不能解决你的错误让我知道,我会尽力帮助. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |