测试mybatis连接数据库时 出现的link failure 网上改timeout方法也试过了 不太行 求各位告知
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
mysql版本是8.0.23 mysql_connector 的版本是8.0.21
URL后拼接autoReconnect=true driver 版本多少
是不是没有添加mysql的驱动包?加一下试试
端口号错了吧?端口号应该是3306,你改了端口号吗