gubinjie commented on issue #13946:
URL:
https://github.com/apache/dolphinscheduler/issues/13946#issuecomment-1514300925
I changed all components of DolphinScheduler in conf/application.yaml for
database connections to dolphinscheduler_env.sh
export SPRING_DATASOURCE_URL="***"
export SPRING_DATASOURCE_USERNAME=root
export SPRING_DATASOURCE_PASSWORD=****
, and set #export DATABASE=${DATABASE:-mysql}
#export SPRING_PROFILES_ACTIVE=${DATABASE}
These two parameters are commented out so that when I call java -jar
test.jar using the shell, he uses the default profile=default, as shown in
Figure 1.

But even with profile=default, my own project (test.jar) will still use the
dolphinscheduler metadata storage library (dolphinscheduler), as shown in
Figure 2

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]