Closed aaryan-purohit closed 4 months ago
Please provide more error logs. @aaryan-purohit
Here are the logs after running bash tools/bin/upgrade-schema.sh script -
This might be a configuration issue. You can try the JDBC settings mentioned here: https://stackoverflow.com/questions/50379839/connection-java-mysql-public-key-retrieval-is-not-allowed to see if it resolves the problem.
Yes, this fixes the issue. But shouldn't this be mentioned in the https://github.com/apache/dolphinscheduler/blob/3.1.3-release/docs/docs/en/guide/howto/datasource-setting.md also?
JDBC has a lot of parameters, and we won't document all of the third-party parameters. Please refer to the relevant documentation if necessary.
Thanks for helping.
Search before asking
What happened
While trying to follow steps mentioned in https://github.com/apache/dolphinscheduler/blob/3.1.3-release/docs/docs/en/guide/howto/datasource-setting.md, I tried to init the database using script : bash tools/bin/upgrade-schema.sh. It showed the error - [Connection Spring Boot-MySql : Public Key Retrieval is not allowed
What you expected to happen
I expected that it would initialize the database and created all the sql tables needed so that all metadata will be stored even after dolphinscheduler server is stopped.
How to reproduce
Follow the commands mentioned in https://github.com/apache/dolphinscheduler/blob/3.1.3-release/docs/docs/en/guide/howto/datasource-setting.md for mysql and init the database.
Anything else
No response
Version
3.1.x
Are you willing to submit PR?
Code of Conduct