加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

无法打开phpMyAdmin(Windows)

发布时间:2020-12-11 23:45:13 所属栏目:MySql教程 来源:网络整理
导读:我在三天前下载了XAMPP,在尝试打开phpmyadmin时我一直收到此错误. phpMyAdmin tried to connect to the MySQL server,and the server rejected the connection. You should check the host,username and password in your configuration and make sure that

我在三天前下载了XAMPP,在尝试打开phpmyadmin时我一直收到此错误.

phpMyAdmin tried to connect to the MySQL server,and the server rejected the connection. You should check the host,username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

我甚至没有设置密码,因为我无法打开安全页面,我不断发现页面找不到错误.

我该如何解决?

最佳答案 首先,尝试通过命令行连接MySQL以验证MySQL服务器是否正在运行且用户密码是否正确

mysql -u USERNAME -p PASSWORD

如果可以成功连接到服务器,请转到phpmyadmin配置文件
并更改您的连接字符串配置.

见:http://docs.phpmyadmin.net/en/latest/setup.html

但是,如果你无法连接到MySQL服务器,你的问题是你的服务器而不是phpmyadmin.因此,请转到xampp控制面板并配置服务器配置文件.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读