Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose.yml #854

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ services:
# expose 33306 to client (navicat)
#ports:
# - 33306:3306
# 下面MYSQL_USER 如果使用root会有 MYSQL_USER="root", MYSQL_PASSWORD cannot be used for the root user 错误导致mysql无法启动,改成“user”可以正常启动!
volumes:
# change './docker/mysql/volume' to your own path
# WARNING: without this line, your data will be lost.
Expand All @@ -61,5 +62,5 @@ services:
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_DATABASE: "rap2"
MYSQL_USER: "root"
MYSQL_USER: "name"
MYSQL_PASSWORD: ""