Skip to content

Commit bed3b34

Browse files
authored
Merge pull request #381 from infosiftr/infoschema
Keep infoschema user since it is required for 8.0.4
2 parents 7b6d186 + 5d24fc5 commit bed3b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8.0/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
143143
-- or products like mysql-fabric won't work
144144
SET @@SESSION.SQL_LOG_BIN=0;
145145
146-
DELETE FROM mysql.user WHERE user NOT IN ('mysql.session', 'mysql.sys', 'root') OR host NOT IN ('localhost') ;
146+
DELETE FROM mysql.user WHERE user NOT IN ('mysql.infoschema', 'mysql.session', 'mysql.sys', 'root') OR host NOT IN ('localhost') ;
147147
SET PASSWORD FOR 'root'@'localhost'=PASSWORD('${MYSQL_ROOT_PASSWORD}') ;
148148
GRANT ALL ON *.* TO 'root'@'localhost' WITH GRANT OPTION ;
149149
${rootCreate}

0 commit comments

Comments
 (0)