1eval CREATE USER testuser@'$IPv6' identified by '1234'; 2eval GRANT ALL ON test.* TO testuser@'$IPv6'; 3eval SHOW GRANTS FOR testuser@'$IPv6'; 4# deliver NULL instead of a valid number, see bug#34037 5eval SET @nip= inet_aton('$IPv6'); 6SELECT @nip; 7SELECT inet_ntoa(@nip); 8# delivers a wrong value, see bug#34037 9--replace_result ::1 localhost 10SELECT USER(); 11--replace_result ::1 localhost 12SELECT current_user(); 13--disable_result_log 14SHOW PROCESSLIST; 15--enable_result_log 16connect (con1, $IPv6, root, , test, $MASTER_MYPORT); 17connection default; 18disconnect con1; 19eval REVOKE ALL ON test.* FROM testuser@'$IPv6'; 20eval RENAME USER testuser@'$IPv6' to testuser1@'$IPv6'; 21eval SET PASSWORD FOR testuser1@'$IPv6' = PASSWORD ('9876'); 22--replace_result ::1 localhost 23SELECT USER(); 24eval DROP USER testuser1@'$IPv6'; 25 26