Skip to content

Commit

Permalink
Drop MYSQL_USER=root from MySQL docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Mar 19, 2021
1 parent 0fcd118 commit 22c630d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generators/server/templates/src/main/docker/mysql.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ services:
# volumes:
# - ~/volumes/jhipster/<%= baseName %>/mysql/:/var/lib/mysql/
environment:
- MYSQL_USER=root
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_DATABASE=<%= baseName.toLowerCase() %>
# If you want to expose these ports outside your dev PC,
Expand Down

2 comments on commit 22c630d

@pascalgrimaud
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix @mshima

@mshima
Copy link
Member Author

@mshima mshima commented on 22c630d Mar 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 it was a docker entrypoint behavior change.
docker-library/mysql@6a9edeb

Committed directly to have all green sooner.

Please sign in to comment.