zoukankan      html  css  js  c++  java
  • Kubernetes权威指南 中 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database 的错误

    Kubernetes权威指南 中第一章 从一个简单的例子开始中

    会出现这样的错误com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database ,

    经查找因为docker mysql镜像的版本的问题。

    网上有人说5.6可以运行,但是我这里还是不行,

    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.

    5.6的版本还是有错误,后来升级到5.7 就OK了。

     

     

  • 相关阅读:
    CCF CSP 201403-2 窗口
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
  • 原文地址:https://www.cnblogs.com/13579net/p/11922689.html
Copyright © 2011-2022 走看看