The|The last packet sent successfully to the server was 0 milliseconds ago.
【The|The last packet sent successfully to the server was 0 milliseconds ago.】分类:JavaEE框架技术原创文章
作者:屈二朴
运行环境: 阿里云ECS + Cent OS 7.8 + JDK1.8 + Tocat 9.0 + MySQL 8.0
报错:
### Error querying database.Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection;
nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
解决方式:将阿里云ECS服务器上的MySQL数据重启
推荐阅读
- 【Thesewt】蒙昧(续)
- The|The Help week 3
- The|The ideal servant
- 分析COMP122 The Caesar Cipher
- ElasticSearch6.6.0强大的JAVA|ElasticSearch6.6.0强大的JAVA API详解
- Elasticsearch|Elasticsearch 简介
- 清晨朗读327(How|清晨朗读327:How Successful People Network with Each Other)
- 【天馬座|【天馬座 ? 翼ノ幻想】~《The Pegasus Fantasy》
- The|The Dump Truck Song
- OpenCV|OpenCV for Unity 通过WebCamTextureToMatHelper帮助类来获取摄像头的画面