Commit 419e35e0 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo
Browse files

change parameters order

parent 9a453147
Pipeline #3146 passed with stage
in 24 seconds
......@@ -92,10 +92,10 @@ fi
if [ "$(basename $1)" = "mysqld" ];
then
tail -F "${MYSQL_LOG_FILE}" &
tail -F "${MYSQL_LOG_FILE}" 2>/dev/null &
set -- "$@" "--user=mysql"
set -- "$@" "--defaults-file=/etc/mysql/my.cnf"
set -- "$@" "--user=mysql"
set -- "$@" "--datadir=${PXC_DATA}"
set -- "$@" "--log-bin=$CLUSTER_NAME-bin"
set -- "$@" "--explicit_defaults_for_timestamp=on"
......@@ -104,6 +104,7 @@ then
set -- "$@" "--wsrep_cluster_address=gcomm://$online"
set -- "$@" "--wsrep_sst_auth=xtrabackup:$XTRABACKUP_PASSWORD"
set -- "$@" "--wsrep_node_address=$MY_IP"
echo "$@" >&2
exec "$@"
else
exec "$@"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment