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 84e80f9 commit b70f068Copy full SHA for b70f068
entrypoint.sh
@@ -108,7 +108,7 @@ if [ "$1" = 'mysqld' ]; then
108
$install_devnull "$PASSFILE"
109
# Define the client command used throughout the script
110
# "SET @@SESSION.SQL_LOG_BIN=0;" is required for products like group replication to work properly
111
- mysql=( mysql --defaults-extra-file="$PASSFILE" --protocol=socket -uroot -hlocalhost --socket="$SOCKET" --init-command="SET @@SESSION.SQL_LOG_BIN=0;")
+ mysql=( mysql --defaults-extra-file="$PASSFILE" --protocol=socket -uroot -hlocalhost --socket="$SOCKET" --init-command="SET @@SESSION.SQL_LOG_BIN=0;" $MYSQL_DATABASE )
112
113
for i in {30..0}; do
114
if mysqladmin --socket="$SOCKET" ping &>/dev/null; then
0 commit comments