How to connect to SQL Server running on AWS?
问题 I am trying to connect to a SQL server running on AWS, located on a VM, the IP addresses of the VM and SQL server are different, can anyone please help me in creating a connection string? The following connection string works inside the VM, but not outside where I want to connect: sConnString = "Provider=SQLOLEDB;Persist Security Info=True;User ID=***;password=***;Initial Catalog=Dbname;Data Source=10.0.1.122;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=****