Skip to content

Conversation

@shurkaxaa
Copy link

Now DB initialization failed as CREATE USER operation fails because
of https://bugs.mysql.com/bug.php?id=28331
In short following sequence fails as FLUSH PRIVILEGES required in the middle:
DELETE FROM mysql.user...;
CREATE USER ...;
As 127.0.0.1 already present container failed in related part of entrypoint

  Now DB initialization failed as CREATE USER operation fails because
  of https://bugs.mysql.com/bug.php?id=28331
  In short following sequence fails as FLUSH PRIVILEGES required in the middle:
      DELETE FROM mysql.user...;
      CREATE USER ...;
  As 127.0.0.1 already present container failed in reqlated part of entrypoint
@yosifkit
Copy link
Contributor

yosifkit commented Mar 3, 2020

Sorry for the long tail 🙇‍♂️

This is basically a duplicate of docker-library/mysql#549, which was added to docker-library/mysql#471 and then copied to MariaDB images in #271. So this should be fixed now:

https://github.com/docker-library/mariadb/blob/17fbf28e55c357c52d5025c50d65f2ab2ab508e2/docker-entrypoint.sh#L231-L235

@yosifkit yosifkit closed this Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants