Commit 680862e7 authored by Philippe Gauron's avatar Philippe Gauron
Browse files

Merge branch 'verification-environnement' into 'master'

test installation BD TANGO

See merge request CCThomX/installation!37
parents 6299af45 79cb026f
......@@ -154,19 +154,25 @@ then
info "DATABASE running"
fi
echo "Following asked password is MariaDB password for tango database"
RESULT_DATABASE=$(mysql -h localhost -u tango tango -p -e "SHOW tables")
if [[ "${RESULT_DATABASE}" != "${CORRECT_OUTPUT_DATABASE}" ]]
else
warning "DATABASE not running!"
fi
fi
##TANGO_DB
if [[ "${TANGO_DB}" -eq 1 ]]
then
echo "Following asked password is MariaDB password for tango database"
RESULT_DATABASE=$(mysql -h localhost -u tango tango -p -e "SHOW tables")
if [[ "${RESULT_DATABASE}" != "${CORRECT_OUTPUT_DATABASE}" ]]
then
if [[ "${DEBUG}" -eq 1 ]]
then
if [[ "${DEBUG}" -eq 1 ]]
then
info "DATABASE successfully installed"
fi
else
warning "DATABASE installation failed!"
info "DATABASE successfully installed"
fi
else
warning "DATABASE not running!"
warning "DATABASE installation failed!"
fi
fi
......
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