A good idea (and a good practice) in this MySql Version (8 and above) is to config ROLES and then set the users for it, like this good article (read it, is very good!).
You'll can set your role to many users.
Something like this:
1 - Create the role:
create ROLE name_of_your_role;
2 - Set the necessary privileges to the ROLE, and remember, in this MySql version you dont need of Flush Privileges. Example (change mydatabase expression for your database name or wildcard, like you need):
grant alter,create,delete,drop,index,insert,select,update,trigger,alter
routine,create routine, execute, create temporary tables
on mydatabase.* to 'name_of_your_role';
3 - Grant the role for your user:
grant 'name_of_your_role' to 'alice';
4 - Set this role as default to your user:
set default role 'name_of_your_role' to 'alice';