Skip to content

Commit 9a557f5

Browse files
committed
fix MySQL error
1 parent 260598c commit 9a557f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker-compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ services:
4242
TZ: $MYSQL_TZ
4343
MYSQL_DATABASE: $MYSQL_DATABASE
4444
MYSQL_USER: $MYSQL_USER
45-
MYSQL_PASSWORD: $MYSQL_PASSWORD
46-
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
45+
$MYSQL_PASSWORD: $MYSQL_PASSWORD
46+
#MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
47+
MYSQL_ALLOW_EMPTY_PASSWORD: $MYSQL_ALLOW_EMPTY_PASSWORD
4748
volumes:
4849
- mysql-data:/var/lib/mysql
4950
- ./docker/mysql/backup/:/backup

0 commit comments

Comments
 (0)