From 5bc0821f25afabe927240dc8f87c3d4c828de297 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Fri, 22 Jul 2022 10:57:25 +0200 Subject: [PATCH] DOC: Added additional instructions when restoring database content. For #34. --- utils/make_db | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/make_db b/utils/make_db index 8e4ce92..72529df 100755 --- a/utils/make_db +++ b/utils/make_db @@ -136,6 +136,11 @@ name in your .config file " function restore_db() { SQL_FILE="$1" $MYSQL_CMD $(get_mysql_args) < "$SQL_FILE" + cat <<EOF +If this is not the same SQL server where the SQL dump was originally created +from, make sure that a user with sufficient permissions exist. Note that you +can use the 'grant' action of this script to do this. +EOF } function test-connection() { -- GitLab