gpt4 book ai didi

mysql - DataGrip/PhpStorm 未连接到 MySQL DB,错误 : com. intellij.execution.ExecutionException

转载 作者:行者123 更新时间:2023-11-29 18:00:58 24 4
gpt4 key购买 nike

我使用 PhpStorm 作为我的代码编辑器和数据库客户端。一切正常。但突然它停止工作了。删除连接,然后使用绝对正确的数据库凭据添加新数据源,但仍然没有连接。然后我以为是PhpStorm的问题,所以我下载了DataGrip,但它也有同样的问题。我能够使用 SequelPro 通过相同的凭据连接相同的数据库。

这是我点击“应用”按钮时得到的结果。当我单击“测试连接”按钮时,它显示一个在后台运行的无限进程连接到数据库

enter image description here

我不知道 JetBrains 关于 DB 的产品突然出了什么问题。我不能 100% 确定到底是在哪个事件之后,我遇到了这个问题。我使用的是最新版本的 PhpStorm 和 DataGrip (版本 2017.3.4 构建于 2018 年 1 月 17 日)。

我的idea.log如下:

enter image description here

最佳答案

问题是 /etc/hosts 文件由于某种原因没有记录 127.0.0.1 localhost

有关更多调查详情,请参阅 DataGrip issue DBE-5801

关于mysql - DataGrip/PhpStorm 未连接到 MySQL DB,错误 : com. intellij.execution.ExecutionException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48352143/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com