|
|
@ -1961,8 +1961,10 @@ public class CommonEnumUtil {
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// cn.estsh.i3plus.mes.pcn.util.BsJdbcTemplateConfigTest
|
|
|
|
private String getJDBCUrlMySQL(String database,String host,Integer port){
|
|
|
|
private String getJDBCUrlMySQL(String database,String host,Integer port){
|
|
|
|
//TODO 针对mysql 8.0 先加上allowPublicKeyRetrieval 赋予默认时区CST
|
|
|
|
// 针对mysql 8.0 先加上allowPublicKeyRetrieval 赋予默认时区CST
|
|
|
|
return "jdbc:mysql://"+host+":"+port+"/"+database+
|
|
|
|
return "jdbc:mysql://"+host+":"+port+"/"+database+
|
|
|
|
"?autoReconnect=true" +
|
|
|
|
"?autoReconnect=true" +
|
|
|
|
"&useSSL=false" +
|
|
|
|
"&useSSL=false" +
|
|
|
|