开发者社区> 问答> 正文

应用程序连接 atlas 报错 ?报错

CentOS 6.5 64位

keepalived + atlas

可以通过mysql客户端连接atlas 进行查询,但是通过应用程序的连接池连接atlas却报:

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.

不知道哪里出了问题?@Qihoo360  谢谢了


展开
收起
爱吃鱼的程序员 2020-06-09 13:19:36 633 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    找到原因了,应该是我的<spanstyle="font-family:"font-size:14px;line-height:22px;background-color:#FFFFFF;">keepalived配置不对导致的问题

    2020-06-09 13:19:54
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
荷鲁斯 移动端第三方库安全检查引擎介绍 立即下载
开源广进-用Service Catalog构造K8S服务能力 立即下载
让 MySQL 原生分布式触手可及 立即下载