We have an existing database user in our MariaDB 10.3 instance. We'd like to grant the user a couple of extra permissions, without any interruption to service.
I understand from the helpful answer here the basic process, but I'm concerned that between the execution of the REVOKE ALL PRIVILEGES...
command and the GRANT ...
command that the user will not have any access to the database. Is this correct? If so, is there a good way around this, other than creating a new user with a different username and migrating the application code to use this new user instead?
Thanks for your help.