Missing MySQL dependency
This issue is more of a question/clarification.
Why is the MySQL-driver not listed as dependency in the complete project?
If one completes the guide Accessing data with MySQL then there is no problem (as @Buzzardo mentioned here), because the guide states to include the MySQL Driver (see Starting with Spring Initializr).
But if one directly downloads this git repository and tries to run the complete project, it won't work. There are already two issues regarding this very problem: #53 , #52 .
Thank you!
I suppose we could add a note at the top to state that MySQL must be available. I'll make this one available to the community, as we are trying to encourage more community engagement with the guide repositories.
I have a similar problem. The documentation is no longer up-to-date.
In build.gradle I need to add the following dependency: runtimeOnly 'com.mysql:mysql-connector-j'
And in application.properties the spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver setting is no longer required to start the server.
Could I create a pull request for these changes? Or is there something I'm missing?
Feel free to create a pull request. Thanks.
Fixed with #58