MySql Admin User lost Privileges

348 Views Asked by At

On PreProd - MySqlServer Admin account lost the privileges which was all good yesterday.

When ran show grants for xxxxxadmin;on Dev its resulted as

enter image description here

On Pre-Prod (which was same as Dev)

enter image description here

There is no other admin account to log into the server. Is there a way to get the Privileges back.

These are Azure MySql databases.

1

There are 1 best solutions below

0
On

Using Azure Portal you can reset the password.

Navigate to your Azure MySql database in Azure Portal and in Overivew, and clickReset Password.

https://learn.microsoft.com/en-us/azure/mysql/howto-create-manage-server-portal#update-admin-password