This commit is contained in:
root 2023-09-20 23:38:59 +08:00
parent bc2f30f9c2
commit 2cd3918a6f
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
version: '2.1'
version: '3'
services:
mysql:
@ -10,9 +10,11 @@ services:
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_general_ci',
'--max_connections=10000'
'--max_connections=10000',
'--default-authentication-plugin=mysql_native_password'
]
volumes:
- moneywhere_mysql_data:/var/lib/mysql
phpmyadmin:
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest

View File

@ -1,4 +1,4 @@
version: '2.1'
version: '3'
services:
mysql:
@ -10,7 +10,7 @@ services:
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_general_ci',
'--max_connections=10000'
'--max_connections=10000',
'--default-authentication-plugin=mysql_native_password'
]
volumes: