mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-09-20 23:45:55 +08:00
fix: test mysql8.0
This commit is contained in:
parent
3ccf303433
commit
7f85d00bfa
|
@ -74,17 +74,17 @@ public class AesPreferencesConfigurer extends PreferencesPlaceholderConfigurer i
|
|||
}
|
||||
}
|
||||
|
||||
// PRIVATE
|
||||
// SPEC MYSQL PORT
|
||||
String mysqlPort = System.getProperty("mysql.port");
|
||||
if (StringUtils.isNotBlank(mysqlPort)) {
|
||||
String dbUrl = props.getProperty("db.url");
|
||||
dbUrl = dbUrl.replace("3306", "4653");
|
||||
dbUrl = dbUrl.replace("3306", mysqlPort);
|
||||
props.put("db.url", dbUrl);
|
||||
}
|
||||
|
||||
// MUST NOT BE NULL
|
||||
setIfEmpty(props, ConfigurableItem.CacheHost, "127.0.0.1");
|
||||
setIfEmpty(props, ConfigurableItem.CachePort, "16379");
|
||||
setIfEmpty(props, ConfigurableItem.CachePort, "6379");
|
||||
|
||||
propsHold = (Properties) props.clone();
|
||||
|
||||
|
|
|
@ -351,7 +351,7 @@ public class EasyMeta implements BaseMeta {
|
|||
* @return
|
||||
*/
|
||||
public static String getLabel(BaseMeta meta) {
|
||||
return meta.getDescription();
|
||||
return StringUtils.defaultIfBlank(meta.getDescription(), meta.getName().toUpperCase());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
-- !!! NOTICE !!!
|
||||
-- IF YOU USING MYSQL 5.7 OR ABOVE, YOU SHOULD REMOVED THESE SQL_MODES IN my.cnf/my.ini FIRST.
|
||||
-- !!! MYSQL VERSION NOTICE !!!
|
||||
-- IN 5.7 OR ABOVE, YOU SHOULD REMOVED THESE SQL_MODES IN my.cnf/my.ini FIRST.
|
||||
-- ONLY_FULL_GROUP_BY
|
||||
-- IN 8.0 OR ABOVE, ONLY SUPPORTS mysql_native_password AUTHENTICATION MODE
|
||||
-- default_authentication_plugin=mysql_native_password
|
||||
|
||||
-- #1 database/user
|
||||
-- 首次使用请移除以下注释以创建数据库和用户
|
||||
|
|
Loading…
Reference in a new issue