Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Set up two computers on LAN to use the same SQL Server database

$
0
0

Hi,

Let's start with the simple requirement, so that you know where I'm trying to go: I need to access one database from two computers. I would prefer the database be a local one in the home network. Re-creating the current database is not a problem. The solution has to work with SQL Server 2016.

So what do I have now:

A database on local computer, that I can access from that very same computer.

I also have another computer, that I can use to access the computer in Windows network, that is, to see for example the shared printers.

I have configured to the server properties that "Allow remote connections to this server" are enabled.

I have checked that my Windows firewall allows connections using this given, 49172 TCP port.

I have enabled TCP/IP from Sql Server Configuration Manager / Protocols for MSSQLSERVER

I have created an SQL Server login account "a" with password "b" on the server.

I have tried with Windows Authentication too.

I have tried to connect using address servercomputername\databasename,49172. Error 258 comes out (not found or not accessible). I have tried also with servercomputername,49172. Same error.

I have rebooted the server computer.

Obviously I'm missing something important here, but what?

And yes, going with some "why don't you"-answer is fine too.



Viewing all articles
Browse latest Browse all 7696

Trending Articles



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