Unable to connect to SQL server on Azure Logic Apps

Admin 0 Reputation points
2023-11-22T01:32:46.5633333+00:00

Hi,

I am new to Azure logic apps. I am trying to connect to a SQL server using port 1521. I put the port number after the server address as specified in the image. For example, I put testserver.database.windows.net[:1521] as the SQL server name. It gives me the error as follows:

Please check your account info and/or permissions and try again. Details: Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.) clientRequestId: 5e41a983-0efb-42ae-a6c8-a99c40f5d2f6 More diagnostic information: x-ms-client-request-id is 'E99786E3-E238-497D-9F8A-211EA3B4F010'.

I've added the connector outgoing IP addresses to the server and entered the credentials correctly. What am I doing wrong here?

The database I am trying to connect to is a polardb in Alibaba cloud hosted in Asia.

User's image

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
SQL Server Other
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2023-11-22T02:17:31.2866667+00:00

    @Admin Thanks for reaching out.

    SQL connector only supports as documented here.

    Looking into polar DB document I can see MySQL and PostgreSQL which would not be supported by the connector.

    You can try leveraging the MYSQL connector and validate the Prerequisites if it fulfills for your polar DB or not.

    Let me know if you have any queries or concerns.

    Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

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.