Skip to content

Commit

Permalink
PMM7 fix GR Auth (#714)
Browse files Browse the repository at this point in the history
* Updates Fix GR auth
  • Loading branch information
saikumar-vs authored Jul 31, 2024
1 parent 319c68a commit b4bfd76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pmm-tests/pmm-framework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;"
Expand Down

0 comments on commit b4bfd76

Please sign in to comment.