Skip to content

Commit 9108dcf

Browse files
datacharmerltangvald
authored andcommitted
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.
1 parent da99dee commit 9108dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5.7/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if [ "$1" = 'mysqld' ]; then
5454
-- What's done in this file shouldn't be replicated
5555
-- or products like mysql-fabric won't work
5656
SET @@SESSION.SQL_LOG_BIN=0;
57-
DELETE FROM mysql.user where user != 'mysql.sys';
57+
DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys');
5858
CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
5959
GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ;
6060
DROP DATABASE IF EXISTS test ;

0 commit comments

Comments
 (0)