无法连接到MAMP上的phpMyAdmin [英] Cannot connect to phpMyAdmin on MAMP

查看:170
本文介绍了无法连接到MAMP上的phpMyAdmin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误消息:

MySQL说:

无法连接:无效的设置. phpMyAdmin尝试连接到MySQL服务器,服务器拒绝连接.您应该检查配置中的主机,用户名和密码,并确保它们与MySQL服务器管理员提供的信息相对应.

Cannot connect: invalid settings. 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.

用户名和密码是默认密码-均为'root'.我没有在任何地方设置它们.香港专业教育学院在这里尝试了各种答案,但没有任何作用

The user and pass are the default ones - both 'root'. I haven't set them anywhere. Ive tried various answers on here but nothing is working

推荐答案

在MAMP的首选项"窗格中,从PHP 7切换回5.6.10,它应该可以再次工作.

In Preferences pane of MAMP switch back from PHP 7 to 5.6.10 and it should work again.

这篇关于无法连接到MAMP上的phpMyAdmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆