-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change application properties configuration
- Loading branch information
1 parent
209dfd9
commit eb55f48
Showing
7 changed files
with
23 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
server.port=8080 | ||
spring.datasource.url=jdbc:mysql://localhost:3306/projectionapi?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC | ||
spring.datasource.username=root | ||
spring.datasource.password=Rodrigo1807 | ||
spring.jpa.hibernate.ddl-auto=update | ||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver | ||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Application properties | ||
|
||
Create the Schema in MySQL Workbench named `projectionapi`. | ||
Then create the `application.properties` inside `src/main/resources` file with this lines: | ||
|
||
|
||
`server.port=8080` | ||
`spring.datasource.url=jdbc:mysql://localhost:3306/projectionapi?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC` | ||
`spring.datasource.username=YOUR_DB_USERNAME` | ||
`spring.datasource.password=YOUR_DB_PASSWORD` | ||
`spring.jpa.hibernate.ddl-auto=update` | ||
`spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver` | ||
`spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect` | ||
|
||
|
This file was deleted.
Oops, something went wrong.