From 4f39eeb35dfc291b46829cac9b42746a69e8e782 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 12 Apr 2012 09:48:27 +0000 Subject: [PATCH] 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 --- ngcp-update-db-schema | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ngcp-update-db-schema b/ngcp-update-db-schema index 94c64c1b..b1ce067d 100755 --- a/ngcp-update-db-schema +++ b/ngcp-update-db-schema @@ -35,11 +35,6 @@ if [ -z "${SIPWISE_DB_PASSWORD}" ] ; then exit 1 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 if [ -n "$AUTOMATED_INSTALL_MODE" ] ; then echo "Running in automated installation mode, ignoring check for empty db_schema."