diff --git a/pmm-tests/client_container_pxc_setup.sh b/pmm-tests/client_container_pxc_setup.sh index 099061800..a84ef8701 100644 --- a/pmm-tests/client_container_pxc_setup.sh +++ b/pmm-tests/client_container_pxc_setup.sh @@ -74,8 +74,8 @@ if [ "$query_source" == "slowlog" ]; then done fi -bin/mysql -A -uroot -S/home/pxc/PXC/node1/socket.sock -e "create user 'admin'@'127.0.0.1' identified with mysql_native_password by 'admin';" -bin/mysql -A -uroot -S/home/pxc/PXC/node1/socket.sock -e "grant all on *.* to 'admin'@'127.0.0.1';" +bin/mysql -A -uroot -S/home/pxc/PXC/node1/socket.sock -e "create user 'admin'@'%' identified with mysql_native_password by 'admin';" +bin/mysql -A -uroot -S/home/pxc/PXC/node1/socket.sock -e "grant all on *.* to 'admin'@'%';" export SERVICE_RANDOM_NUMBER=$((1 + $RANDOM % 9999)) for j in `seq 1 ${number_of_nodes}`;do