From 673f3e830447f990c07002223ce8cc82f5bad66a Mon Sep 17 00:00:00 2001 From: Giuseppe Maxia Date: Tue, 7 Jun 2016 09:22:24 +0200 Subject: [PATCH] Fix for bug#81723 Fixing [Bug#81723](https://bugs.mysql.com/bug.php?id=81723): Installing a container with X-Plugin enabled results with an unresponsive server. --- 5.7/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5.7/docker-entrypoint.sh b/5.7/docker-entrypoint.sh index cbf71ec..f7f1fd7 100755 --- a/5.7/docker-entrypoint.sh +++ b/5.7/docker-entrypoint.sh @@ -54,7 +54,7 @@ if [ "$1" = 'mysqld' ]; then -- What's done in this file shouldn't be replicated -- or products like mysql-fabric won't work SET @@SESSION.SQL_LOG_BIN=0; - DELETE FROM mysql.user where user != 'mysql.sys'; + DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys'); CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ; GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ; DROP DATABASE IF EXISTS test ;