zoukankan      html  css  js  c++  java
  • idea中mybatis连接数据库失败

    报错信息如下:

    org.apache.ibatis.exceptions.PersistenceException:
    ### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    The last packet successfully received from the server was 634 milliseconds ago. The last packet sent successfully to the server was 620 milliseconds ago.
    ### The error may exist in UserMapper.xml
    ### The error may involve UserMapper.GetUser
    ### The error occurred while executing a query
    ### Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    The last packet successfully received from the server was 634 milliseconds ago. The last packet sent successf

    解决方法: 将url中的UseSSL中的true改为false

    知道的越多,不知道的越多
  • 相关阅读:
    自己建二维obj
    微信webview
    闭包
    angular
    2015项目timeline
    项目总结
    aa
    AHA高级心血管生命支持ACLS课前自我评估测试
    BASH_SOURCE
    bootstrap--小李子demo
  • 原文地址:https://www.cnblogs.com/fsq-mysql/p/13639807.html
Copyright © 2011-2022 走看看