8000
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.
2 parents 1a3490b + 0542209 commit 9dd8a7cCopy full SHA for 9dd8a7c
5.6/docker-entrypoint.sh
@@ -52,6 +52,8 @@ if [ "$1" = 'mysqld' ]; then
52
53
tempSqlFile=$(mktemp /tmp/mysql-first-time.XXXXXX.sql)
54
cat > "$tempSqlFile" <<-EOSQL
55
+ -- What's done in this file shouldn't be replicated
56
+ SET @@SESSION.SQL_LOG_BIN=0;
57
DELETE FROM mysql.user ;
58
CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
59
GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ;
0 commit comments