【发布时间】:2018-06-24 16:58:14
【问题描述】:
上述问题在这里几乎没有解决方案,但我无法让它们中的任何一个工作如此询问。
我已经安装了 mamp 和 sequel pro。我正在尝试使用 sequel pro 进行连接,但出现此错误。整个错误是
Unable to connect to host 127.0.0.1, or the request timed out.
Be sure that the address is correct and that you have the necessary
privileges, or try increasing the connection timeout (currently 10 seconds).
MySQL said: Can't connect to MySQL server on '127.0.0.1' (4)
这是我第一次尝试通过标准连接进行连接。
我尝试了套接字连接,它可以工作,但我无法将数据库与我的 nodejs 应用程序连接起来。谢谢
【问题讨论】:
-
MySQL 正在运行吗?它在 127.0.0.1 上监听吗?您的应用程序与数据库在同一台机器上吗?
-
是的所有问题:)