Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29544

Unable to connect the database which is on EC2 from the AWS DMS endpoint

$
0
0

I have a SQL Server running in a EC2 instance. I created a replication instance in DMS. I created a Source Endpoint in DMS pointing to the sql server instance. The Test of the endpoint fails with this error:

Failed to connect Network error has occurred RetCode: SQL_ERROR SqlState: HYT00 NativeError: 0 Message: [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired ODBC general error.

EC2 instance, replication instance is in the same AZ and same VPC. The security group is wide open to all ports and sources.

Concerns I have is: What is the "server name" I should give in the endpoint? I tried these: windows server name, server-name/instance-name, EC2 public IP, public-ip/instance-name. But nothing worked.

UserId/Password: I created a user id/password through the SSMS, and I gave those credentials in the endpoint. I made sure the userid has access to the database.

And I made sure that the server is with both windows and sql server logins.


Viewing all articles
Browse latest Browse all 29544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>