The wind of freedom blows的博客配置文件中的url不正确(排除) jdbc:mysql://localhost:3306/env 2.mysql的连接等待时间默认为8小时,28800秒(不太可能因为这个,毕竟程序启动还没多久) 如果要将mysql的全局变量wait_timeout的值修改为最大。...
RenDuData的博客 The driver has not received any packets from the server. 解决办法:配置文件加上&...useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 driver-class-name: com.mysql.cj.jdbc.Driver