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.
mysql.sys
1 parent 90504e5 commit c22ce30Copy full SHA for c22ce30
5.7/docker-entrypoint.sh
@@ -50,7 +50,7 @@ if [ "$1" = 'mysqld' ]; then
50
-- What's done in this file shouldn't be replicated
51
-- or products like mysql-fabric won't work
52
SET @@SESSION.SQL_LOG_BIN=0;
53
- DELETE FROM mysql.user ;
+ DELETE FROM mysql.user where user != 'mysql.sys';
54
CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
55
GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ;
56
DROP DATABASE IF EXISTS test ;
0 commit comments