diff --git a/pig-register/src/main/resources/application.yml b/pig-register/src/main/resources/application.yml index d26f598e..db861673 100644 --- a/pig-register/src/main/resources/application.yml +++ b/pig-register/src/main/resources/application.yml @@ -31,8 +31,6 @@ nacos: spring: application: name: @project.artifactId@ - datasource: - platform: mysql #这个过期属性不能修改,nacos 代码对此有硬编码 security: enabled: true boot: # 接入 spring boot admin @@ -43,6 +41,9 @@ spring: password: pig instance: service-host-type: ip + sql: + init: + platform: mysql useAddressServer: true