我使用 PhpStorm 作为我的代码编辑器和数据库客户端。一切正常。但突然它停止工作了。删除连接,然后使用绝对正确的数据库凭据添加新数据源,但仍然没有连接。 然后我以为是PhpStorm的问题,所以我下载了DataGrip,但它也有同样的问题。我能够使用 SequelPro 通过相同的凭据连接相同的数据库。
这是我点击“应用”按钮时得到的结果。当我单击“测试连接”按钮时,它会显示一个无限进程
connecting to database
在后台运行。
我不知道 JetBrains 关于 DB 的产品突然出了什么问题。我不能 100% 确定到底是在哪个活动之后,我遇到了这个问题。我使用的是最新版本的 PhpStorm 和 DataGrip(版本 2017.3.4 构建于 2018 年 1 月 17 日)。
我的idea.log如下:
试试这个:
在“数据源和驱动程序”窗口中:选择您的数据库连接项。
点击[Driver:]标签后的[MySQL]链接
删除[其他文件:]中的所有项目
完成!