---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers"
tags: ["Servers"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers

`GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers`

List all the servers in a given subscription.

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

Azure operation completed successfully.

- ServerListResult — The response of a Server list operation.
  - `value` Server[] — The Server items on this page — unresolved $ref
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/mysqlmanagementclient.md) · [All operations](https://skmtc.dev/azure/apis/mysqlmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/mysqlmanagementclient/revisions/13390d0300c9/schema)
