liqingwang commented on PR #10399:
URL:
https://github.com/apache/dolphinscheduler/pull/10399#issuecomment-1153683348
`export DATABASE=${DATABASE:-h2}`
This field DATABASE is the key to letting the Spring choose the active
profile.
And the active profile will choose the DB `driver-class-name` automatically.
`dolphinscheduler-standalone-server/src/main/bin/start.sh` miss this line.
So you seted the MySQL URL and other information, but the DB
`driver-class-name` is still PostgreSQL, So you can see the error is `Caused
by: java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not
accept jdbcUrl, jdbc:postgresql://127.0.0.1:5432/dolphinscheduler`
And the more detailed information about why we don't need to define URL in
YAML file, you can see
https://github.com/apache/dolphinscheduler/issues/10103#issuecomment-1131238019
--
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]