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 9041eeb + e80af3b commit 18ec190Copy full SHA for 18ec190
5.7/docker-entrypoint.sh
@@ -17,7 +17,7 @@ fi
17
18
if [ "$1" = 'mysqld' ]; then
19
# Get config
20
- DATADIR="$("$@" --verbose --help 2>/dev/null | awk '$1 == "datadir" { print $2; exit }')"
+ DATADIR="$("$@" --verbose --help --innodb-read-only 2>/dev/null | awk '$1 == "datadir" { print $2; exit }')"
21
SOCKET=$(get_option mysqld socket "$DATADIR/mysql.sock")
22
PIDFILE=$(get_option mysqld pid-file "/var/run/mysqld/mysqld.pid")
23
0 commit comments