Skip to content

Commit 2e1b036

Browse files
committed
changed install.sh
1 parent 1e7b362 commit 2e1b036

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

install.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ upgrade_config_file () {
3636
echo "#PATH=\${PATH}:FULL_PATH_TO_YOUR_DIR_CONTAINING_MYSQL:FULL_PATH_TO_YOUR_DIR_CONTAINING_MYSQLDUMP"
3737
echo ""
3838
echo "# Basic Settings"
39+
echo ""
40+
echo "# since mysql 5.6.x connections can be stored securely"
41+
echo "# add your connection with"
42+
echo "# mysql_config_editor set --login-path=automysqldump --host=localhost --user=root --password"
43+
echo "# automysqldump is using the login-path "automysqldump" as default"
3944
echo ""
4045
echo "# Username to access the MySQL server e.g. dbuser"
4146
if isSet USERNAME; then
@@ -479,8 +484,7 @@ echo
479484
if echo $PATH | grep "${bindir}" >/dev/null 2>&1; then
480485
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"
481486
printf "if not, you have to check if 'echo \$PATH' has ${bindir} in it\n"
482-
printf "\nSetup Complete!\n"
483487
else
484488
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"
485-
printf "\nSetup Complete!\n"
486489
fi
490+
printf "\nSetup Complete!\n"

0 commit comments

Comments
 (0)