Share via

Failed to connect with azure flexible mysql from mysql workbench

Administrator DYCN 0 Reputation points
2026-02-25T12:24:01.3366667+00:00

We hUser's image

we have enabled the ip firewall also but it is not working.

we have also enable ssl and paste DigiCertGlobalRootG2.crt.pem file on ssl ca too. Previously it was working fine

Azure Database for MySQL
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 18,140 Reputation points MVP Volunteer Moderator
    2026-02-25T12:35:51.3166667+00:00

    Hello , Welcome to MS Q&A

    I can suggest some standard fixes you can try if these not help may be need to deep dive specifically to check this in detail

    ## Quick Fix Checklist
    
    Run through these in order:
    
    - [ ] **Get current public IP** and verify it's in firewall rules
    - [ ] **Test connection via Azure Portal Query Editor** (bypasses MySQL Workbench)
    - [ ] **Verify server status is "Running"** in Azure Portal
    - [ ] **Re-download SSL certificate** and update path in MySQL Workbench
    - [ ] **Set SSL Mode to "REQUIRED"** (not PREFERRED or DISABLED)
    - [ ] **Test network connectivity** to port 3306
    - [ ] **Try connecting from different network** (mobile hotspot)
    - [ ] **Check MySQL Workbench error message** - look for specific error code
    - [ ] **Verify password hasn't expired** or been changed
    - [ ] **Check Azure MySQL server logs** for connection attempts
    
    
    

    Pls check and let us know

    Thanks
    Deepanshu

    0 comments No comments

Your answer

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