Commit c8ab5d14 authored by Philippe Gauron's avatar Philippe Gauron
Browse files

Corrige connexion mariadb

parent 786cd5c2
......@@ -190,7 +190,7 @@ fi
if [ "${TANGO_DB}" -eq 1 ]
then
echo "Following asked password is MariaDB password for tango database"
RESULT_DATABASE=$(mysql -h "${TANGOSERVER}" -u tango tango -p -e "SHOW tables")
RESULT_DATABASE=$(mysql -h localhost -u tango -p -e "USE tango; SHOW tables")
if [ "${RESULT_DATABASE}" != "${CORRECT_OUTPUT_DATABASE}" ]
then
if [ "${DEBUG}" -eq 1 ]
......
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