Java连接数据库报错:com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
解决方案
连接Mysql报错
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
检查mysql服务是否开启