Commit 678757b8 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo
Browse files

provides init-file on database starttup

parent d1a7bd53
Pipeline #3150 passed with stage
in 24 seconds
......@@ -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
......
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