经验分享

【已解决】spring boot项目从mysql中获取数据候错误The driver has not received any packets from the server

springboot项目在连接mysql查询数据的时候,提示错误:Thedriverhasnotreceivedanypacketsfromtheserver沃日。为什么会出现这种情况呢?查看配置文件中,数据库链接配置:好像没问题,又好像有问题。把mysql:3308换成localhost:3308就可以了

spring boot项目在连接mysql查询数据的时候,提示错误:The driver has

原创不易,完成人机校验,阅读全文

相关推荐