From e393a5df464c191d3086e380dc62a95a5599aa1e Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 5 Nov 2019 18:02:31 +0100 Subject: [PATCH] flush_host_cache.sh,flush_query_cache.sh: change default mysql credentials. --- flush_host_cache.sh | 2 +- flush_query_cache.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flush_host_cache.sh b/flush_host_cache.sh index 45b0909..6d28a0e 100755 --- a/flush_host_cache.sh +++ b/flush_host_cache.sh @@ -29,7 +29,7 @@ if [[ -f "$conf_file" ]]; then source "$conf_file" fi -[[ -z "$mysql_credential_args" ]] && mysql_credential_args="--login-path=local" +[[ -z "$mysql_credential_args" ]] && mysql_credential_args="--defaults-file=/usr/local/mysql/sys-maint.cnf" if $LOGGING ;then diff --git a/flush_query_cache.sh b/flush_query_cache.sh index 29198d9..8b5f2e9 100755 --- a/flush_query_cache.sh +++ b/flush_query_cache.sh @@ -64,7 +64,7 @@ if [[ -f "$conf_file" ]]; then source "$conf_file" fi -[[ -z "$mysql_credential_args" ]] && mysql_credential_args="--login-path=local" +[[ -z "$mysql_credential_args" ]] && mysql_credential_args="--defaults-file=/usr/local/mysql/sys-maint.cnf" if $LOGGING ;then