Заменил используемую СУБД Postgres на MySQL
https://spring.io/guides/gs/accessing-data-mysql
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
spring.jpa.hibernate.ddl-auto = update
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5454/sweater_db
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/sweater_db
|
||||
spring.datasource.username=user
|
||||
spring.datasource.password=123456
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
spring.jpa.show-sql: true
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
|
||||
|
||||
Reference in New Issue
Block a user