From 0ab6469187285368d9f64f9ec67dbbcfa3e5a901 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Tue, 15 May 2018 01:49:46 +0800 Subject: Grant privileges after database is created Never drop the database when granting privileges --- scripts/create_mysql_user.sh | 1 - scripts/create_postgres_user.sh | 4 +--- scripts/prepare_build.sh | 12 ++---------- scripts/utils.sh | 10 ++++++++++ 4 files changed, 13 insertions(+), 14 deletions(-) (limited to 'scripts') diff --git a/scripts/create_mysql_user.sh b/scripts/create_mysql_user.sh index 286b1325f1d..35f68c581f3 100644 --- a/scripts/create_mysql_user.sh +++ b/scripts/create_mysql_user.sh @@ -1,7 +1,6 @@ #!/bin/bash mysql --user=root --host=mysql <