docker-bootstrap-collection icon indicating copy to clipboard operation
docker-bootstrap-collection copied to clipboard

Update 01-databases.sql

Open diraol opened this issue 2 years ago • 0 comments

Two proposed changes here:

  1. Update the comment marker from # to -- (SQL standard).
  2. From mysql 8 on we can't create a user with the grant command. If you create the user with '<username>'@'localhost' and then try to GRANT .... TO "<username>"@"%" ..., since the "host" is differente (localhost x %) it will try to "create a new user", thus it will fail to start.

diraol avatar Jul 08 '22 12:07 diraol