fix
This commit is contained in:
parent
1c572e9c8d
commit
8cddc05cbf
@ -6,7 +6,7 @@ services:
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
MYSQL_DATABASE: mydb
|
||||
MYSQL_DATABASE: paopao
|
||||
MYSQL_USER: myuser
|
||||
MYSQL_PASSWORD: mypassword
|
||||
volumes:
|
||||
|
@ -8,8 +8,8 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://db:3306/paopao?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true # MySQL连接URL,paopao是数据库名
|
||||
driverClassName: com.mysql.cj.jdbc.Driver # MySQL的Driver类名
|
||||
username: root # MySQL用户名
|
||||
password: root # MySQL密码
|
||||
username: myuser # MySQL用户名
|
||||
password: mypassword # MySQL密码
|
||||
|
||||
jpa:
|
||||
show-sql: true
|
||||
|
Loading…
Reference in New Issue
Block a user