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.