Java链接MySQL数据库报com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure错误

我使用的是MySQL8.0的版本,代码以下:java package mysql; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class mysql { // 数据库地址 private static String dbUrl
相关文章
相关标签/搜索