Skip to content
Snippets Groups Projects
Verified Commit 68ff4571 authored by David Beniamine's avatar David Beniamine
Browse files

User mariadb

parent 92e37a3d
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,10 @@ SCRIPT_DIRECTORY=`pwd`
SCRIPT_LOG="${SCRIPT_DIRECTORY%%/}/installMySQL.log"
# If mysql not installed then install it
echo "DEBIAN_FRONTEND='noninteractive' apt-get -qq install mysql-server" \
echo "DEBIAN_FRONTEND='noninteractive' apt-get -qq install mariadb-server" \
"apg expect"
DEBIAN_FRONTEND='noninteractive' apt-get update \
&& DEBIAN_FRONTEND='noninteractive' apt-get -qq install mysql-server \
&& DEBIAN_FRONTEND='noninteractive' apt-get -qq install mariadb-server \
apg expect
MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-$(apg -q -a 0 -n 1 -m 21 -M NCL)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment