From a69511bd1ac71e50083c0661b25c11c280f04a42 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 14 Dec 2012 17:55:18 +0000 Subject: [PATCH] drop grants for sipwise user in 0080_grants_dbs.up otherwise installer fails with: | [...] | Applying revision script /usr/share/ngcp-db-schema/db_scripts/base/0080_grants_dbs.up: done | ERROR 1045 (28000): Access denied for user 'sipwise'@'localhost' (using pssword: YES) | [...] Related to previous fix, addressing https://bugtracker.sipwise.com/view.php?id=2463 Needs review before release! From: Michael Prokop --- db_scripts/base/0080_grants_dbs.up | 2 -- 1 file changed, 2 deletions(-) diff --git a/db_scripts/base/0080_grants_dbs.up b/db_scripts/base/0080_grants_dbs.up index 748de1b0..fa1aa783 100644 --- a/db_scripts/base/0080_grants_dbs.up +++ b/db_scripts/base/0080_grants_dbs.up @@ -35,8 +35,6 @@ GRANT SELECT,INSERT,UPDATE ON billing.* TO 'rateomat'@'localhost' IDENTIFIED BY GRANT SELECT,INSERT,UPDATE ON accounting.* TO 'sems_prepaid'@'localhost' IDENTIFIED BY 'PW_SEMS_PREPAID'; GRANT SELECT,INSERT,UPDATE ON billing.* TO 'sems_prepaid'@'localhost' IDENTIFIED BY 'PW_SEMS_PREPAID'; -GRANT ALL PRIVILEGES ON *.* TO 'sipwise'@'localhost' IDENTIFIED BY 'PW_SIPWISE' WITH GRANT OPTION; - GRANT ALL PRIVILEGES ON kamailio.* to 'dbcleaner'@'localhost' IDENTIFIED BY 'PW_CLEANUP_TOOLS'; GRANT ALL PRIVILEGES ON accounting.* to 'dbcleaner'@'localhost' IDENTIFIED BY 'PW_CLEANUP_TOOLS';