Troubleshooting Connection to Azure Flexible Server with MySQL Workbench

Samer Hajjar 0 Reputation points
2024-03-01T12:14:14.8133333+00:00

Hello,

I'm having trouble connecting to an Azure Database for MySQL flexible server using MySQL Workbench. Even though my IP is whitelisted, and the port is allowed in my Windows firewall settings, I'm still unable to connect. For more information, please refer to the attached error screenshot.

I have tried multiple internet connections and even a VPN, but still can't figure out why I am unable to connect.

Can someone please assist me in resolving this issue?

Thank you.

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

1 answer

Sort by: Most helpful
  1. David Broggy 5,801 Reputation points MVP
    2024-03-01T12:28:45.7033333+00:00

    Hi Samer,

    We'll need to better understand how your network path is set up.

    For example if mysql is listening on port 3306 and it's running in Azure, you won't be able to get to that from a remote machine.

    the first thing you should try is to power up a VM inside Azure on the same subnet as your mysql server and verify you can connect from that machine.

    Then you'll know your issue is purely network connectivity and not something unusual.

    Good luck!


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.