search
Homephp教程php手册phpmyadmin出现2003服务器无响应解决方法

phpmyadmin出现2003服务器无响应解决方法

Jun 13, 2016 am 09:49 AM
phpmyadminAppearresponsemethodserverLoginsolve

出现登陆phpmyadmin出现 #2003 - 服务器没有响应最先想到的是你的mysql服务器是不是停止了检查一下,如果是mysql服务器停止服务了重启就可以解决问题了。

1、在APMServ5.2.6出现问题的最简单的解决办法是

在本地计算机无法启动APMServ-MySQL5.1服务,错误1067,进程意外中止”的方法很简单,只要进入“D:\Program Files\APMServ5.2.6\MySQL5.1\bin”文件夹,找到mysqld-nt.exe文件执行即可。
默认情况下,当启动APMServ的时候,在服务中MySql5.1都是没有启动的,需要执行mysqld-nt.exe文件,开启MySql服务


2.我们还是来检查phpmyadmin配置文件看看

方法一:查找

 代码如下 复制代码
$cfg['Servers'][$i]['auth_type'] = ‘config’;
更改为
$cfg['Servers'][$i]['auth_type'] = ‘http’;

访问的时候需要输入用户名和密码

方法二:”#2003 – 服务器没有响应”PHPMYADMIN登陆问题的解决

问题描述:

登陆PHPMYADMIN的时候提示 #2003 – 服务器没有响应
1 本地其它php+mysql程序运行正常;
2 phpmyadmin 以前运行正常,就最近出错.

解决办法:
找到/libraries/config.default.php文件中以下代码段:
复制内容到剪贴板代码:

 代码如下 复制代码
$cfg['Servers'][$i]['auth_type']     = ‘config’;    // Authentication method (valid choices: config, http, HTTP, signon or cookie) 验证方式一般填写cookie
$cfg['Servers'][$i]['user']          = ‘root’;      // MySQL user
$cfg['Servers'][$i]['password']      = ”;          // MySQL password (only needed with ‘config’ auth_type)
将其中的$cfg['Servers'][$i]['password'] 补上相应的正确密码.
3.连接mysql mysql.exe -u root -p -h 127.0.0.1
然后同步密码guoxue_mmkey_com
mysql> SET PASSWORD FOR -> ‘ some_user ‘@’ some_host ‘ = OLD_PASSWORD(‘ newpwd ‘);
结合我们的实际情况,在 MySQL Command Line Client 下运行:
set password for root@localhost = old_password(’123′);guoxue_mmkey_com
guoxue_mmkey_com

如果以上方法都不能解决,建议重新配置PHP,重新安装一次mysql即可,一般都能解决


注意:
检查防火墙是否关闭了3306端口,或者直接关闭防火墙测试是否可以正常连接到MYSQL,开始-运行,输入IISRESET重新启动IIS,保证mysql比IIS早启动

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.