Commit 1be9f674 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo
Browse files

use modern way to create database

parent 419e35e0
Pipeline #3147 passed with stage
in 23 seconds
......@@ -60,12 +60,12 @@ bootstrap_database () {
fi
echo "## Creating new data directory at '${PXC_DATA}'"
mysql_install_db \
--insecure \
--user=mysql \
--basedir=/usr \
--datadir="${PXC_DATA}" \
--extra-sql-file="$sql_file"
mysqld \
--defaults-file=/etc/mysql/my.cnf \
--initialize \
--initialize-insecure \
--datadir=$PXC_DATA \
--basedir=/usr
# rm "$sql_file"
}
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