925 questions with Azure Database for MySQL tags

Sort by: Updated
1 answer

ProvisionNotSupportedForRegion in West Europe for Mysql Flexible Server

I cannot deploy a Mysql Flexible Server in West Europe with my subscription. Please tell me if any restriction applies

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 27, 2025, 6:04 PM
Giovanni Mellini 0 Reputation points
commented Mar 31, 2025, 10:09 AM
Prasad Chaganti 175 Reputation points Microsoft External Staff
0 answers

Cannot disable VNET due to an association in a subnet its delegated to Microsoft.DBforPostgreSQL/flexibleServers a reference that no longer exists

I cannot remove the association of a subnet, because that resource does no longer exists, and the actual service association link is set as allow delete = false. The allow Delete is set to false and there's nothing a mere mortal can do.. this is eating…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 28, 2025, 12:51 AM
Egli Becerra 0 Reputation points
commented Mar 31, 2025, 8:07 AM
Mallaiah Sangi 350 Reputation points Microsoft External Staff
0 answers

How to recover a missing MySQL database on Azure Database for MySQL Flexible Server?

A MySQL database backing a WordPress app service has seemingly disappeared between 3/25 and 3/27. There is no trace of it in the Settings -> Databases view for the Azure Database for MySQL flexible server where it should be hosted. Attempts to restore…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 28, 2025, 4:16 AM
Anthony Cardella 0 Reputation points
commented Mar 28, 2025, 11:11 AM
Saraswathi Devadula 700 Reputation points Microsoft External Staff
1 answer

Azure Mysql flexible server - reduce storage size by purging binlog via binlog_expire_seconds

I have set the server parameter binlog_expire_seconds to 30 in Azure mysql flexible server. I was trying to signal the server to purge the binlog in order to reduce the storage size, but the storage size didn't change at all. Any ideas?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Sep 20, 2024, 3:06 AM
Avan Tan 0 Reputation points
edited a comment Mar 28, 2025, 2:09 AM
Son Pham 0 Reputation points
2 answers

Database Creation Failing on Azure for MySQL Database

Trying to create a database for an application on Azure, but the process keeps failing with every attempt. What could be the potential causes for this issue?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 19, 2025, 2:05 PM
Lanre 0 Reputation points
answered Mar 26, 2025, 2:21 PM
Vijayalaxmi Kattimani 1,965 Reputation points Microsoft External Staff
1 answer

How do I connect to mysql database via PHP?

I have a ubuntu VM created on Azure and an SQL database and I am trying to connect to my database via PHP. I have tried using the PHP connection string provided within the database connection examples and this fails - I get a PDO exception: Error…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 11, 2025, 11:50 AM
Kay Rogage 11 Reputation points
commented Mar 20, 2025, 11:02 AM
PratikLad 565 Reputation points Microsoft External Staff
2 answers

MySQL Flexible Server Skus missing from EastUS and EastUS2 region

The following to calls to list MySQL Flexible Server skus for the east US region return no values. What gives? In the Azure Portal, it acts as though I can create servers in those regions but creation fails with a undescriptive error. az mysql…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 21, 2024, 12:33 PM
Fred Gohsman 0 Reputation points
edited a comment Mar 18, 2025, 9:18 AM
Gaurav 0 Reputation points
2 answers One of the answers was accepted by the question author.

Not able to connect to SSL enable Azure MySql using python script.

not able to connect to SSL enable Azure MySql using python script. Getting following error in Python mysql.connector.errors.InterfaceError: 2055: Lost connection to MySQL server at 'gcm-daas-backup-srv.mysql.database.azure.com:3306', system error: 1…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 13, 2025, 4:24 AM
Mahendra Rajgude 20 Reputation points
answered Mar 15, 2025, 3:02 AM
Mahendra Rajgude 20 Reputation points
2 answers One of the answers was accepted by the question author.

InternalServerError when restoring Database

{ "code": "InternalServerError", "message": "An unexpected error occured while processing the request. Tracking ID: 'ce16cadd-108a-4c16-ad44-a6bec8fd38b8'" }

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 12, 2025, 12:59 AM
Shawn Myers 20 Reputation points
accepted Mar 15, 2025, 12:14 AM
Shawn Myers 20 Reputation points
1 answer One of the answers was accepted by the question author.

After a forced failover of Azure Mysql Flexible, why is the instance read-only?

Hello, I have an Azure MySql Flexible instance running at foo.mysql.database.azure.com with zone redundant HA enabled. I attempted a forced failover per https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-high-availability. After…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 17, 2022, 5:36 PM
EJ Marmonti 151 Reputation points
edited a comment Mar 14, 2025, 1:34 PM
mithun singh 0 Reputation points
1 answer

ETIMEDOUT Error Connecting Azure App Service (Node.js) to Azure MySQL Flexible Server via Private Link

Hi everyone, I keep getting a connect ETIMEDOUT error when trying to connect from my Node.js application (running on an Azure App Service) to an Azure Database for MySQL Flexible Server over a Private Link. I setup my App Service and MySQL Flex Server…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 12, 2025, 7:13 AM
Edward 0 Reputation points
answered Mar 12, 2025, 9:29 AM
Mallaiah Sangi 350 Reputation points Microsoft External Staff
1 answer

Im unable to deploy both postgresql flexible server and mysql flexible server in location German west central

I deployed Azure Database for PostgreSQL - Flexible Servers which was successful in German West Central, when i tried deploying Azure Database for MySQL - Flexible Server it threw error;  …

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 7, 2025, 6:20 PM
Victor KAKAMA 0 Reputation points
commented Mar 11, 2025, 10:22 PM
Prasad Chaganti 175 Reputation points Microsoft External Staff
3 answers

Error establishing a database connection. Wordpress on App Service

Hi there Since morning 22 Feb 2025 our Wordpress on Azure(Azure Marketplace) app site stopped to work showing error "Error establishing a database connection". The was no any problem on Friday even around midnight, when everything worked…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 22, 2025, 5:11 PM
Volodymyr Shatalov - Focal Fact 0 Reputation points
answered Mar 11, 2025, 12:09 PM
Shree Hima Bindu Maganti 3,830 Reputation points Microsoft External Staff
2 answers

Unexpected Cost Increase in Azure MySQL Flexible Server

Hello, We operate an Azure Database for MySQL Flexible Server running MySQL 5.7. Around November/December 2024, we observed a significant increase in our database costs. Our 500 MB database has accumulated up to 4 TB of backup data, primarily due to…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 25, 2025, 7:54 AM
Even Johansen 0 Reputation points
commented Mar 10, 2025, 12:10 PM
Even Johansen 0 Reputation points
0 answers

Something turns off events after a week or so, by setting event_scheduler to OFF

Something turns off events after a week or so, by setting event_scheduler to OFF on our Azure flexible MySQL server

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 5, 2025, 1:13 PM
Yaroslav Zhmayev 0 Reputation points
commented Mar 7, 2025, 8:43 AM
Adithya Prasad K 330 Reputation points Microsoft External Staff
0 answers

An error occurred while seeding the database.

I am getting the following error while connecting from Visual studio to Azure. *** ERROR *** An error occurred while seeding the database. *** ERROR *** Microsoft.Data.SqlClient.SqlException (0x80131904): DefaultAzureCredential failed to retrieve a…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 28, 2025, 12:25 AM
Subhra Roy 0 Reputation points
commented Mar 4, 2025, 1:35 AM
Mallaiah Sangi 350 Reputation points Microsoft External Staff
0 answers

MySQL Server stuck at "Updating" State for hours

I recently changed the Compute Tier → Compute Size for my Azure Database for MySQL (flexible) server, but it has been stuck in the "Updating" state for at least FOUR hours. What I've Tried: Waiting: It has been stuck for at least 4 hours…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Mar 2, 2025, 12:09 AM
Ken Au 0 Reputation points
commented Mar 4, 2025, 12:44 AM
Mallaiah Sangi 350 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

The server is currently in 'disabled' state. Please wait for the operation to complete. - Hanging multiple days

My server is in a disabled state and has been like this for days. I see this message: The server is currently in 'disabled' state. Please wait for the operation to complete. You can refresh to check status. Reach out to Microsoft support if the operation…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 26, 2025, 9:11 PM
Alex Rothberg 40 Reputation points
accepted Mar 4, 2025, 12:24 AM
Alex Rothberg 40 Reputation points
1 answer One of the answers was accepted by the question author.

Azure MySQL Flexi Server Queries - SSL enable/disable & Compute tier scale up/down

Hello Team, I require some insights on below queries from you all. From below screenshot, there is a link for 'Enable SSL to secure connections At first, it looks like a link to an Azure documentation. So, I clicked it, but it directly enabled the…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 27, 2025, 9:12 AM
Alex 495 Reputation points
commented Mar 1, 2025, 4:30 PM
Vinodh247 31,166 Reputation points MVP
0 answers

SQL server showing - The server is currently in 'disabled' state. Please wait for the operation to complete. You can refresh to check status. Reach out to Microsoft support if the operation is taking too long.

SQL server showing - The server is currently in 'disabled' state. Please wait for the operation to complete. You can refresh to check status. Reach out to Microsoft support if the operation is taking too long. Is there any sort of work around/fix for…

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
925 questions
asked Feb 26, 2025, 6:11 PM
Constructure Admin 0 Reputation points
commented Feb 27, 2025, 11:42 PM
Sai Raghunadh M 2,975 Reputation points Microsoft External Staff