Hi @Wojtek Mituś ,
Welcome to Microsoft Q&A forum and thanks for using Azure services.
We are sorry about the issue you are currently experiencing with Deletion of Azure MySQL Flexible Server through portal and Terraform.
I request you please open Azure CLI and try below commands with your server details:
- Delete a database on a flexible server.
az mysql flexible-server db delete [--database-name]
[--ids]
[--resource-group]
[--server-name]
[--subscription]
[--yes]
Example: Delete database 'testDatabase' in the flexible server 'testserver'.
az mysql flexible-server db delete --resource-group testGroup --server-name testserver --database-name testDatabase
- Delete a flexible server.
az mysql flexible-server delete [--ids]
[--name]
[--resource-group]
[--subscription]
[--yes]
Example: Delete a flexible server.
az mysql flexible-server delete --resource-group testGroup --name testserver
Please try above steps in Azure CLI and let us know if you are facing issue. We can further investigate this issue if CLI does not help.
Awaiting your reply. Thank you.