Azure CLI error while connecting azure mysql database

Nikil Ramakrishnan 0 Reputation points
2023-12-20T13:46:11.35+00:00

(ResourceNotFound) The Resource 'Microsoft.DBforMySQL/servers/testingmysql' under resource group 'ISOLATE-ENV' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

Code: ResourceNotFound

Message: The Resource 'Microsoft.DBforMySQL/servers/testingmysql' under resource group 'ISOLATE-ENV' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

Kindly someone , please let me know , why i get this error , given details everything are correct but i get this error when i try to connect azure mysql server from azure cli , when providing this command "az mysql server show --resource-group <resource-group-name> --name <server-name>"

Someone pls reach me and help me to solve this isse , ASAP

main goal is , im trying to export slow query log of azure mysql server using azureCLI

Appreciate your responce ,

Thanks,

Nikil.R

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
922 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nikil Ramakrishnan 0 Reputation points
    2024-01-03T17:08:59.54+00:00

    @GeethaThatipatri-MSFT Thanks for your responce , yes i have set subscription az account set --subscription <name>

    Though im not able to connect to azure mysql server


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.