Skip to content

Commit

Permalink
chore: Configure datasource on application.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloAsencio committed Nov 7, 2021
1 parent 837e14f commit a67ae2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ server.port=8082
# Data Source Setup
# Note: Users must create a mysql db that they will reference here, create a user that has access to it on localhost
# and provide the credentials below to access it
spring.datasource.url=jdbc:mysql://localhost:3306/critter
spring.datasource.username=sa
spring.datasource.password=sa1234
spring.datasource.initialization-mode=always
spring.jpa.hibernate.ddl-auto=create

# uncomment the below lines to view sql output in console
#spring.jpa.show-sql=true
Expand Down

0 comments on commit a67ae2e

Please sign in to comment.