forked from Cookies_Github_mirror/AquaDX
[general] Separate MariaDB and Mysql migration
From spring boot 2.7, mysql and mariadb uses different vendor string This broke database migration when using default connection config
This commit is contained in:
@@ -67,4 +67,12 @@ spring.jpa.properties.hibernate.dialect=org.sqlite.hibernate.dialect.SQLiteDiale
|
||||
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB10Dialect
|
||||
#spring.datasource.hikari.maximum-pool-size=10
|
||||
|
||||
########## For MySQL ##########
|
||||
#spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||
#spring.datasource.username=
|
||||
#spring.datasource.password=
|
||||
#spring.datasource.url=jdbc:mysql://localhost:3306/insert_db_name_here?allowPublicKeyRetrieval=true&useSSL=false
|
||||
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
|
||||
#spring.datasource.hikari.maximum-pool-size=10
|
||||
|
||||
## You can add any Spring Boot properties below
|
||||
|
||||
Reference in New Issue
Block a user