incubator-streampark
incubator-streampark copied to clipboard
[Bug][console]MySQL datasource cannot be used normally
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
java.lang.IllegalStateException: Cannot load driver class: com.mysql.cj.jdbc.Driver
StreamPark Version
1.2.4
Java Version
1.8.0_345
Flink Version
1.15.2
Scala Version of Flink
2.12
Error Exception
java.lang.IllegalStateException: Cannot load driver class: com.mysql.cj.jdbc.Driver
Screenshots
No response
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hi @shangeyao, thanks for you feedback. The license of mysql dependency is an category-x[1], which is not expected by the asf-project. If you want to use mysql as the database, you can place the mysql driver under the lib.
[1] https://apache.org/legal/resolved.html#category-x