@ -35,7 +35,7 @@ if [ -z "${SIPWISE_DB_PASSWORD}" ] ; then
exit 1
exit 1
fi
fi
if ! mysql -e "GRANT ALL PRIVILEGES ON *.* TO sipwise@localhost IDENTIFIED BY '${SIPWISE_DB_PASSWORD}' WITH GRANT OPTION;" ; then
if ! mysql -usipwise -p"${SIPWISE_DB_PASSWORD}" -e "GRANT ALL PRIVILEGES ON *.* TO sipwise@localhost IDENTIFIED BY '${SIPWISE_DB_PASSWORD}' WITH GRANT OPTION;" ; then
echo 'Error: grants for user sipwise on localhost could not be applied.' >&2
echo 'Error: grants for user sipwise on localhost could not be applied.' >&2