summaryrefslogtreecommitdiff
path: root/mysql-test/main/connect.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/connect.test')
-rw-r--r--mysql-test/main/connect.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/main/connect.test b/mysql-test/main/connect.test
index afc0fcc1259..b0461a5afac 100644
--- a/mysql-test/main/connect.test
+++ b/mysql-test/main/connect.test
@@ -65,6 +65,10 @@ connect (fail_con,localhost,test,zorro,);
source include/switch_to_mysql_user.inc;
update mysql.user set plugin="", authentication_string="", password=old_password("gambling2") where user=_binary"test";
flush privileges;
+show grants for test@localhost;
+update mysql.user set plugin='mysql_old_password' where user='test';
+flush privileges;
+show grants for test@localhost;
connect (con10,localhost,test,gambling2,);
connect (con5,localhost,test,gambling2,mysql);