Skip to content

Commit

Permalink
master: update pom and application.pro
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunhThanhDe committed Jul 31, 2023
1 parent cbdca74 commit 222446a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<description>project Terminal Management System</description>
<properties>
<java.version>11</java.version>
<mysql.version>5.1.30</mysql.version>
<mysql.version>8.0.33</mysql.version>
</properties>
<dependencies>
<dependency>
Expand Down
16 changes: 8 additions & 8 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ server.port=8082
#
# JDBC properties
#
spring.datasource.url=jdbc:mysql://localhost:3306/TMS
spring.datasource.username=thanhchung
spring.datasource.password=Chunhthanhde01@
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
# spring.datasource.url=jdbc:mysql://localhost:3306/TMS
# spring.datasource.username=thanhchung
# spring.datasource.password=Chunhthanhde01@
# spring.datasource.driver-class-name=com.mysql.jdbc.Driver
# in window
#spring.datasource.url=jdbc:mysql://localhost:3306/TMS
#spring.datasource.username=root
#spring.datasource.password=123456789
spring.datasource.url=jdbc:mysql://localhost:3306/TMS
spring.datasource.username=root
spring.datasource.password=123456789
#
# configuration database
#
spring.jpa.hibernate.ddl-auto= update
# version of MySQL on device
# in my case using ubuntu 18.04 version is "MySQL5Dialect" and window will be "MySQL8Dialect"
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
#
# configuration jwt
#
Expand Down

0 comments on commit 222446a

Please sign in to comment.