From 2e1b036499952f7d7597c743ca5f245d463aff96 Mon Sep 17 00:00:00 2001 From: Andi Nitsche Date: Fri, 20 Jan 2017 08:19:11 +0100 Subject: [PATCH] changed install.sh --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a224abc..9b83c39 100755 --- a/install.sh +++ b/install.sh @@ -36,6 +36,11 @@ upgrade_config_file () { echo "#PATH=\${PATH}:FULL_PATH_TO_YOUR_DIR_CONTAINING_MYSQL:FULL_PATH_TO_YOUR_DIR_CONTAINING_MYSQLDUMP" echo "" echo "# Basic Settings" + echo "" + echo "# since mysql 5.6.x connections can be stored securely" + echo "# add your connection with" + echo "# mysql_config_editor set --login-path=automysqldump --host=localhost --user=root --password" + echo "# automysqldump is using the login-path "automysqldump" as default" echo "" echo "# Username to access the MySQL server e.g. dbuser" if isSet USERNAME; then @@ -479,8 +484,7 @@ echo if echo $PATH | grep "${bindir}" >/dev/null 2>&1; then printf "if you are running automysqlbackup under the same user as you run this install script,\nyou should be able to access it by running 'automysqlbackup' from the command line.\n" printf "if not, you have to check if 'echo \$PATH' has ${bindir} in it\n" - printf "\nSetup Complete!\n" else printf "if running under the current user, you have to use the full path ${bindir}/automysqlbackup since /usr/local/bin is not in 'echo \$PATH'\n" - printf "\nSetup Complete!\n" fi +printf "\nSetup Complete!\n"