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
678757b8
Commit
678757b8
authored
Feb 27, 2018
by
Fabio Montefuscolo
Browse files
provides init-file on database starttup
parent
d1a7bd53
Pipeline
#3150
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
entrypoint/bootstrap.sh
entrypoint/bootstrap.sh
+2
-1
No files found.
entrypoint/bootstrap.sh
View file @
678757b8
...
...
@@ -62,8 +62,9 @@ bootstrap_database () {
echo
"## Creating new data directory at '
${
PXC_DATA
}
'"
mysqld
\
--defaults-file
=
/etc/mysql/my.cnf
\
--
initialize
\
--
user
=
mysql
\
--initialize-insecure
\
--init-file
=
$sql_file
\
--datadir
=
$PXC_DATA
\
--basedir
=
/usr
...
...
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