Drop grant specific code

The way it is now won't provide any benefit, so let's just drop it.
Let's see how we can resolve this issue in the installer...

Thanks for review + comments, Andrew

From: Michael Prokop <mprokop@sipwise.com>
2.6
Michael Prokop 14 years ago
parent 7518773132
commit 4f39eeb35d

@ -35,11 +35,6 @@ if [ -z "${SIPWISE_DB_PASSWORD}" ] ; then
exit 1 exit 1
fi fi
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
exit 1
fi
# support automated installation # support automated installation
if [ -n "$AUTOMATED_INSTALL_MODE" ] ; then if [ -n "$AUTOMATED_INSTALL_MODE" ] ; then
echo "Running in automated installation mode, ignoring check for empty db_schema." echo "Running in automated installation mode, ignoring check for empty db_schema."

Loading…
Cancel
Save