DBZ-2743 Unqouted IP address as part of username

This commit is contained in:
Jiri Pechanec 2020-11-25 14:24:14 +01:00 committed by Gunnar Morling
parent eed7992e5a
commit 070a0fccf9
2 changed files with 6 additions and 0 deletions

View File

@ -1220,6 +1220,11 @@ STRING_USER_NAME: (
( (
SQUOTA_STRING | DQUOTA_STRING SQUOTA_STRING | DQUOTA_STRING
| BQUOTA_STRING | ID_LITERAL | BQUOTA_STRING | ID_LITERAL
| IP_ADDRESS
);
IP_ADDRESS: (
[0-9]+ '.' [0-9.]+
| [0-9A-F:]+ ':' [0-9A-F:]+
); );
LOCAL_ID: '@' LOCAL_ID: '@'
( (

View File

@ -104,4 +104,5 @@ alter user 'user'@'%' identified with 'mysql_native_password' as '*2470C0C06DEE4
require none password expire default account unlock password_lock_time 2; require none password expire default account unlock password_lock_time 2;
alter user 'user'@'%' identified with 'mysql_native_password' as '*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19' alter user 'user'@'%' identified with 'mysql_native_password' as '*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19'
require none password expire default account unlock password_lock_time unbounded; require none password expire default account unlock password_lock_time unbounded;
rename user user1@100.200.1.1 to user2@100.200.1.2;
#end #end