We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da99dee commit 9108dcfCopy full SHA for 9108dcf
5.7/docker-entrypoint.sh
@@ -54,7 +54,7 @@ if [ "$1" = 'mysqld' ]; then
54
-- What's done in this file shouldn't be replicated
55
-- or products like mysql-fabric won't work
56
SET @@SESSION.SQL_LOG_BIN=0;
57
- DELETE FROM mysql.user where user != 'mysql.sys';
+ DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys');
58
CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
59
GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ;
60
DROP DATABASE IF EXISTS test ;
0 commit comments