I get resource not found when I try to access my database server

jean-laurent cassier 0 Reputation points
2023-04-02T09:34:14.13+00:00

Hello,

I created a database mysql a few month ago.

I use a connection string to access it and it works ( I can seee data from my database in the app). The problem is I cannot find this resource on Azure Portal.

Here is the screen I have:

User's image

the name of my database is: masterdatabase

Would you know where I can find my db on the portal ?

Thank you for your help,

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

2 answers

Sort by: Most helpful
  1. Rahul Randive 8,751 Reputation points Microsoft Employee
    2023-04-02T13:12:37.52+00:00

    Thanks for your question.

    Try opening an Azure portal from different browser and check that the resource exists in your Azure subscription. You can do this by logging into the Azure portal, selecting the appropriate subscription and resource group, and verifying that the resource is listed.

    Please follow “Resolve errors for resource not found” document to resolve such errors.

    Resource not found errors - Azure Resource Manager | Microsoft Learn

    You can also check the MySQL server using PowerShell command. Please find below-

    Get MySql server by resource group and server name

    https://learn.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlserver?view=azps-9.5.0#example-1-get-mysql-server-with-default-context

    And, CLI command to Get the details of a server.

    az mysql server show- https://learn.microsoft.com/en-us/cli/azure/mysql/server?view=azure-cli-latest#az-mysql-server-show-examples

    Let us know if this helps!

    0 comments No comments

  2. ShaktiSingh-MSFT 13,996 Reputation points Microsoft Employee
    2023-04-05T07:02:10.4666667+00:00

    Hi jean-laurent cassier •, Welcome to Microsoft Q&A forum and thanks for using Azure services.

    As I understand, you could not find Azure Database for MySQL in portal.

    In addition to Rahul's answer, could you please check if the Database is visible under the resources list:

    User's image

    User's image

    Could you please check if the resource list shows your Database. Also check if the same has been created it on a different Azure subscription or tenant. Awaiting your inputs. Thank you.

    0 comments No comments