diff --git a/pig-register/src/main/resources/bootstrap.yml b/pig-register/src/main/resources/bootstrap.yml index 5c05f5e0..e928fef5 100755 --- a/pig-register/src/main/resources/bootstrap.yml +++ b/pig-register/src/main/resources/bootstrap.yml @@ -21,8 +21,6 @@ nacos: urls: /,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/** spring: - datasource: - platform: mysql security: enabled: true boot: # 接入 spring boot admin @@ -35,6 +33,9 @@ spring: prefer-ip: true application: name: @project.artifactId@ + sql: + init: + platform: mysql useAddressServer: true