MAMP phpMyAdmin无法连接:无效的设置

时间:2019-09-08 22:07:51

标签: mysql mamp

启动MAMP并点击“启动服务器”时,MySQL服务器将无法连接,并进入WebStart页面,然后进入phpMyAdmin,我遇到以下错误:

Cannot connect: invalid settings.

mysqli_real_connect(): (HY000/2002): No connection could be made because the target 
machine actively refused it.

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.

首次安装时,一切正常,并且能够访问localhost而没有任何问题。几天后重新打开MAMP后,它刚刚停止工作。我曾尝试在MAMP的“首选项”中重新启动PC,MAMP,服务器和PHP版本,但没有任何运气。

0 个答案:

没有答案