Closed FakeTrader closed 3 days ago
Can you describe what you what to do?
Would like to create some profiles (dev/test/prod) so I can customize configurations for different environments.
Since the current mysql profile is bound with many configurations, it is not recommended to change the configuration file to be compatible with different environments. You can create a profile with the same name and different contents for each environment to use in different environments.
Search before asking
What happened
What you expected to happen
Start application normally
How to reproduce
application-local.yaml
, set active profile tolocal
, application failed to start.application-mysql.yaml
, set active profile tomysql
, application started successfully.Anything else
It seems the dao plugin checkes the profile and hardcodes as "mysql", "postgresql" and "h2", only loading the configuration when environment condition is met in
org.apache.dolphinscheduler.dao.plugin.api.DatabaseEnvironmentCondition
.Version
3.2.x
Are you willing to submit PR?
Code of Conduct