myeclipse 搭建mybatis框架时报错(1)Communications link failure 通讯链接故障

Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

bao在这里插入图片描述
当报这样的错误时一般是配置文件写错了,我的这个错误时出现于把数据库的端口号3306写成了36306,看着很像但是一直报错,细节无止境,

错误的配置如下
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42072357/article/details/102920275