1
0

feat: 数据库转移到mysql

This commit is contained in:
2025-09-29 13:49:54 +08:00
parent 026c72c4de
commit 9e9f65da76
2 changed files with 8 additions and 3 deletions

View File

@@ -9,10 +9,10 @@ spring:
async:
request-timeout: 3600000
datasource:
url: jdbc:h2:file:./bookstore;DB_CLOSE_ON_EXIT=TRUE
url: jdbc:mysql://mysql.lanyuanxiaoyao.com:43780/bookstore?useUnicode=true&characterEncoding=utf8&useSSL=false
username: bookstore
password: bookstore
driver-class-name: org.h2.Driver
password: EzSn+RZ*x2&fHFh9kC+H
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
generate-ddl: false
hibernate: