mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-25 17:24:27 +08:00
[fix][launcher]Fix mysql scripts.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false;QUERY_TIMEOUT=100
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false;QUERY_TIMEOUT=30
|
||||
username: root
|
||||
password: semantic
|
||||
sql:
|
||||
@@ -11,4 +11,20 @@ spring:
|
||||
h2:
|
||||
console:
|
||||
path: /h2-console/semantic
|
||||
enabled: true
|
||||
enabled: true
|
||||
|
||||
### Comment out following lines if using MySQL
|
||||
#spring:
|
||||
# datasource:
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# url: jdbc:mysql://localhost:3306/s2_database?user=root
|
||||
# username: root
|
||||
# password:
|
||||
# sql:
|
||||
# init:
|
||||
# schema-locations: classpath:db/schema-mysql.sql,classpath:db/schema-mysql-demo.sql
|
||||
# data-locations: classpath:db/data-mysql.sql,classpath:db/data-mysql-demo.sql
|
||||
# h2:
|
||||
# console:
|
||||
# path: /h2-console/semantic
|
||||
# enabled: true
|
||||
Reference in New Issue
Block a user