【EasyClick】mysql连接报错com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure解决方法
1.mysqlUrl后面加个参数useSSL=false默认
let mysqlUrl ="jdbc:mysql://192.168.0.3:3306/test?characterEncoding=utf8&autoReconnect=true"
改为
let mysqlUrl ="jdbc:mysql://192.168.0.3:3306/test?characterEncoding=utf8&autoReconnect=true&useSSL=false"
2. 本地转发的不能用域名
页:
[1]