报错
WARN 9772 --- [nio-9004-exec-2] com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=org.gjt.mm.mysql.Driver was not found, trying direct instantiation.
ERROR 9772 --- [nio-9004-exec-2] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
原因
url: jdbc:mysql://192.168.200.128:3306/tensquare_article?characterEncoding=utf-8&userSSL=false
连接docker中的mysql镜像 mysql 没打开 IP地址也用的是本机所以报错