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 10f65e6 commit 07fbe13Copy full SHA for 07fbe13
5.7/docker-entrypoint.sh
@@ -8,7 +8,7 @@ fi
8
9
if [ "$1" = 'mysqld' ]; then
10
# Get config
11
- DATADIR="$("$@" --verbose --help 2>/dev/null | awk '$1 == "datadir" { print $2; exit }')"
+ DATADIR="$("$@" --verbose --help --log-bin-index=/tmp/tmp.index 2>/dev/null | awk '$1 == "datadir" { print $2; exit }')"
12
13
if [ ! -d "$DATADIR/mysql" ]; then
14
if [ -z "$MYSQL_ROOT_PASSWORD" -a -z "$MYSQL_ALLOW_EMPTY_PASSWORD" ]; then
0 commit comments