You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我在有3个公网IP的ECS搭建了集群,也采用了mysql 5.7版本。myweb pod在node2, mysql pod在node1.
只能在node2节点访问web才有效,访问时出现错误,好像是不能识别mysql服务。
Error:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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.
Activity
wss434631143 commentedon Feb 17, 2020
我也遇到这个问题了,改成5.7解决。
duncanwang commentedon Aug 17, 2021
我在有3个公网IP的ECS搭建了集群,也采用了mysql 5.7版本。myweb pod在node2, mysql pod在node1.
只能在node2节点访问web才有效,访问时出现错误,好像是不能识别mysql服务。
Error:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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.
kubeguide commentedon Sep 25, 2024
请使用 mysql 5.7版本测试,谢谢