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

Chapter 12: tacocloud-mongo has MySQL database URL defined in application.yml #24

Open
philbjern opened this issue Dec 29, 2023 · 0 comments

Comments

@philbjern
Copy link

When viewing chapter 12 taco cloud code (mongodb version) you can find a datasource URL defined in application.yml, the URL points to MySQL database, whereas it should point to mongo database.

---
spring:
  profiles: prod

  datasource:
    url: jdbc:mysql://localhost/tacocloud
    username: tacouser
    password: tacopassword

https://github.com/habuma/spring-in-action-6-samples/blob/main/ch12_13/tacocloud-mongodb/tacocloud/src/main/resources/application.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant