【发布时间】:2021-01-10 12:16:20
【问题描述】:
我有一个托管在 Kinsta 中的 WordPress 网站。
我正在尝试使用 SSH 从 PhpStorm 远程连接到其 MySQL 数据库。
SSH 连接连接成功,但是当我尝试连接到主数据库时,出现以下错误:
[08S01]
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
我尝试联系 Kinsta 支持,但他们对此没有任何正确答案。
请注意:如果我从 MySQL Workbench 连接到同一个数据库,它工作正常。仅当我从 PhpStorm 连接时!
谁能帮帮我?
【问题讨论】: