summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/t/simple_password_check.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/plugins/t/simple_password_check.test')
-rw-r--r--mysql-test/suite/plugins/t/simple_password_check.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/plugins/t/simple_password_check.test b/mysql-test/suite/plugins/t/simple_password_check.test
index 213d061247d..b7d631ab4bb 100644
--- a/mysql-test/suite/plugins/t/simple_password_check.test
+++ b/mysql-test/suite/plugins/t/simple_password_check.test
@@ -89,7 +89,7 @@ grant select on *.* to foo2 identified with mysql_old_password using '';
grant select on *.* to foo2 identified with mysql_old_password;
# direct updates are not protected
-update mysql.user set password='xxx' where user='foo1';
+update mysql.global_priv set priv=json_set(priv, '$.authentication_string', 'xxx') where user='foo1';
set global strict_password_validation=0;