mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-18 03:15:03 +08:00
24 lines
762 B
YAML
24 lines
762 B
YAML
|
|
---
|
|
## h2 配置
|
|
#spring:
|
|
# datasource:
|
|
# url: jdbc:h2:./wu_lazy_cloud_netty_server:wu_lazy_cloud_netty_server;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE;DATABASE_TO_UPPER=true;MODE=MySQL;CASE_INSENSITIVE_IDENTIFIERS=TRUE
|
|
# username: sa
|
|
# driver-class-name: org.h2.Driver
|
|
---
|
|
# h2 web
|
|
spring:
|
|
h2:
|
|
console:
|
|
enabled: true
|
|
path: /h2-console
|
|
settings:
|
|
web-allow-others: true
|
|
---
|
|
spring:
|
|
datasource:
|
|
url: jdbc:mysql://127.0.0.1:3306/wu_lazy_cloud_netty_server?allowMultiQueries=true&useUnicode=true&autoReconnect=true&useAffectedRows=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&databaseTerm=SCHEMA
|
|
username: root
|
|
password: wujiawei
|
|
driver-class-name: com.mysql.cj.jdbc.Driver |