I cannot connect to our MariaDB instance. Looks like a DNS issue

Jeff Ku 0 Reputation points
2025-03-03T17:11:36.9166667+00:00

I cannot connect to our MariaDB instance. Looks like a DNS issue. Is this a MS issue?

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

1 answer

Sort by: Most helpful
  1. Mahesh Kurva 2,920 Reputation points Microsoft External Staff
    2025-03-03T19:54:06.93+00:00

    Hi Jeff Ku,

    Welcome to Microsoft Q&A forum.

    As I understand, you're trying to connect to a MariaDB instance hosted on Azure.

    Here are a few steps you can take to troubleshoot and potentially resolve this issue:

    • Verify if the service has any geo-location restrictions in place. You might need to contact the service provider for this information.
    • If geo-location restrictions are confirmed, using a VPN to connect from an allowed region might help.
    • Ensure that your firewall and network settings are not blocking the connection. Sometimes, specific ports need to be open for the connection to succeed.
    • Double-check the DNS resolution to ensure that the CNAME is correctly resolving to the intended IP address.
    • Review the service configuration to ensure that it allows connections from your server's IP address.

    For more information, please refer the document: https://learn.microsoft.com/en-us/previous-versions/azure/mariadb/howto-troubleshoot-common-connection-issues

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.