diff options
Diffstat (limited to 'mysql-test/main/password_expiration.test')
-rw-r--r-- | mysql-test/main/password_expiration.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/main/password_expiration.test b/mysql-test/main/password_expiration.test index b7d1269537a..184af3a7a44 100644 --- a/mysql-test/main/password_expiration.test +++ b/mysql-test/main/password_expiration.test @@ -12,7 +12,7 @@ alter user user1@localhost password expire; create user user2@localhost; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK -connect(con2,localhost,user2); +connect(con2,localhost,user2,,"*NO-ONE*"); connection con2; --error ER_SPECIFIC_ACCESS_DENIED_ERROR alter user user1@localhost password expire; @@ -35,7 +35,7 @@ connect(con1,localhost,user1); # should allow the client to enter sandbox mode set global disconnect_on_expired_password=OFF; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK -connect(con1,localhost,user1); +connect(con1,localhost,user1,,"*NO-ONE*"); connection con1; --error ER_MUST_CHANGE_PASSWORD select 1; @@ -74,7 +74,7 @@ create user user1@localhost password expire; grant create user on *.* to user1@localhost; set global disconnect_on_expired_password=OFF; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK -connect(con1,localhost,user1); +connect(con1,localhost,user1,,"*NO-ONE*"); connection con1; --error ER_MUST_CHANGE_PASSWORD select 1; @@ -180,7 +180,7 @@ connect(con1,localhost,user1); set global disconnect_on_expired_password=OFF; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK -connect(con1,localhost,user1); +connect(con1,localhost,user1,,"*NO-ONE*"); connection con1; --error ER_MUST_CHANGE_PASSWORD select 1; @@ -224,7 +224,7 @@ drop user user1@localhost; set global disconnect_on_expired_password= ON; create user user1@localhost password expire interval 2 day; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK -connect(con1,localhost,user1); +connect(con1,localhost,user1,,"*NO-ONE*"); disconnect con1; connection default; @@ -254,7 +254,7 @@ update mysql.global_priv set flush privileges; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK -connect(con1,localhost,user1); +connect(con1,localhost,user1,,"*NO-ONE*"); disconnect con1; connection default; drop user user1@localhost; |