We have recently migrated database of our core angular application to use Azure database for MySQL and got server admin user created for us. Recently, by mistake, we incorrectly removed privileges for server admin account and lost all access on our database by that account.
As azure MySQL database can only have one server admin user, Please let me know how to grant all permission to server admin account as we now get access denied while creating a new user or accessing MySQL.user table.
I have spent a lot of time googling for an answer today but didn't find any reference to the problem I am facing. Let me know if any other detail is required and I will be happy to provide.
You should be able to fix this using the Backup and restore in Azure Database for MySQL