String Connection to access sql remotely

Asked

Viewed 65 times

2

I have an SQL SERVER database on one desktop and I’m making a program on another PC that will access that database. I wanted to know how to mount my string Connection to access the database remotely.

I already allowed sql to allow remote connections.

I have this: Data Source = ip_do_pc_com_base_data, 1433, Initial Catalog = dataName

1 answer

3


  • I still could not, will be by having in sql server windows Authentication instead of SQL Server Authentication @Fabioin?

  • @Diego-Souza, I don’t know, but inside the site "The Connection Strings Reference" has all kinds of possible and imaginary connections.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.