Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Tools] DB configurations not work for tools #10390

Closed
3 tasks done
EricGao888 opened this issue Jun 9, 2022 · 2 comments · Fixed by #10399
Closed
3 tasks done

[Bug] [Tools] DB configurations not work for tools #10390

EricGao888 opened this issue Jun 9, 2022 · 2 comments · Fixed by #10399
Assignees
Labels
backend bug Something isn't working

Comments

@EricGao888
Copy link
Member

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

  • If we set database to mysql in dolphinscheduler_env.sh, when running upgrade-schema.sh in tools, will get errors like Caused by: java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
  • datasource.url is somehow deleted in PR: [Fix-10103][k8s]Fix k8s Change DataSource Error #10128 , causing the datasource url will not be overwritten if mysql profile activated. I'm confused why that line was deleted in that PR.
  • ---
    spring:
    config:
    activate:
    on-profile: mysql
    datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver

image

What you expected to happen

  • Already described above.

How to reproduce

  • Already described above.

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@EricGao888 EricGao888 added bug Something isn't working Waiting for reply Waiting for reply labels Jun 9, 2022
@github-actions
Copy link

github-actions bot commented Jun 9, 2022

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

@EricGao888
Copy link
Member Author

Cannot reproduce on the latest code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
Status: Done
2 participants