TL;DR
- 昔から
user@'%'とuser@'xxx'の 両方があって 認証が ‘xxx’ の方で行われた場合 、そのセッションはuser@'%'とuser@'xxx'の両方の権限を持つ謎仕様があった - MySQL 8.2.0のリリースノートにある
In addition, the treatment of %by the server as a synonym for localhost when checking privileges (that is, privileges granted to 'myuser'@'%' are also granted to 'myuser'@'localhost') is now also deprecated as of MySQL 8.2.0 and thus also subject to removal in a future version of MySQL. (WL #14280, WL #15676)はこれを指しているような気がする