From b4bfd7630ada4338aa3b29b5cc6ca001944f66fd Mon Sep 17 00:00:00 2001 From: saikumar-vs <112166980+saikumar-vs@users.noreply.github.com> Date: Wed, 31 Jul 2024 07:57:26 +0530 Subject: [PATCH] PMM7 fix GR Auth (#714) * Updates Fix GR auth --- pmm-tests/pmm-framework.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pmm-tests/pmm-framework.sh b/pmm-tests/pmm-framework.sh index c4664414..449bbb86 100755 --- a/pmm-tests/pmm-framework.sh +++ b/pmm-tests/pmm-framework.sh @@ -2389,7 +2389,8 @@ setup_replication_ps_pmm2 () { node_port=`dbdeployer sandboxes --header | grep $VERSION_ACCURATE | awk -F'[' '{print $2}' | awk -F' ' '{print $1}'` fi writer_port=$node_port - + # Ensure Auth type is Native + echo "ALTER USER 'msandbox'@'localhost' IDENTIFIED WITH mysql_native_password BY 'msandbox'" | dbdeployer use for j in `seq 1 3`;do mysql -h 127.0.0.1 -u msandbox -pmsandbox --port $node_port -e "SET GLOBAL slow_query_log='ON';" mysql -h 127.0.0.1 -u msandbox -pmsandbox --port $node_port -e "SET GLOBAL long_query_time=0;"