Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
open-source
docker-pxc
Commits
419e35e0
Commit
419e35e0
authored
Feb 26, 2018
by
Fabio Montefuscolo
Browse files
change parameters order
parent
9a453147
Pipeline
#3146
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
entrypoint/main.sh
entrypoint/main.sh
+3
-2
No files found.
entrypoint/main.sh
View file @
419e35e0
...
...
@@ -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
"
$@
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment