Connecting to sql database from a different PC - sql-server

I am implementing a simple POS (Point of Sale) application using C#/WPF. The scenario I am working on is that there will be multiple cashiers running the application in the same physical store. I need to have a centeralized database so that both users connect to the same database to lookup the products and for other operations.
I worked with a company and done the same but all network connectivity and servers were ready at that rime.
How do I connect the two PCs so that one can connect to the main PC which hosts the database. Do I need to install sql on wvery client PC to connect or .NET frame work on client will suffice. What are the options (LAN vs Wireless).

Related

slow connection to SQL server on same Azure VNET

We have several virtual machines on Azure. One running an SQL Server, the others are Windows Virtual Desktop hosts.
We have an application on the WVD hosts that connects to the SQL server but it takes forever to connect and start.
When running the application on the SQL machine using 127.0.0.1 to connect, everything works fine. Whenever I use the private IP of the machine, everything slows down immensely (even when running on the SQL server machine)
Alle machines are in the same VNET and region. Everything is also connected to Azure Active Directory Domain Services in the same VNET.
What might becausing the 'slowness'? Where should I start looking?
Thanks in advance!
I've added an image of the network topology. Could it have anything to do with the AADDS Load balancers? (I'm not at home when it comes to load balancing, etc)

Restrict database connection to application running from a network share using TNSNames

I have a somewhat unique(though probably not) situation. I have users that access a 3rd party application over a network share. This application connects to an Oracle database. The problem is, we have Production, QA, Test, and Dev databases and separate shares/applications for each, but the application doesn't care what database it connects to. So I have users launching the Test application for testing and they log into the Production database. This causes major issues.
Is there any way to restrict what database they log into by network share?
I tried using TNSNames on each server that houses each version of the application and that works great...if they are running it on the server, but since all users have Oracle installed on their local machines and they run the application from a network share, their Oracle takes over and allows them to connect to any database (using LDAP).

how to connect the local host to the internet server on netbeans(java)?

I have developed a netbeans project with a database connected using derby local server. when i distribute this project to other computer systems , how do i make the updates done on the table through other systems reflect on all other systems? DOes this involve connecting the host to the internet server?

WPF Application with SQL Server

I have developed a WPF application (Visual Studio 2012) with SQL SERVER (2008) database. This application going to run in multiple (above 5) systems via Internet.
So I have installed a SQL SERVER(2008) and WPF Application (.exe format) in First machine (is a server). And another four or more machines have only WPF Application (.exe) with internet. How to connect a database via internet to storing data and centralize the database.. it is possible??? please reply..
The broad brushstrokes of the method are:
Register a domain name.
Point the domain name at the internet IP address of your web server.
On SQL server, open up the firewall, turn on encryption. Open up ports on PC. Switch on security.
Now, you can connect to the remote SQL database over the internet.
If you are running SQL server on a home PC, you need a dynamic DNS server, see http://dyn.com/dns/.

WAMP database accessible on 2 computers

I have a WAMP server running on my laptop and I want its database to be accessible from another laptop.
I have a VB 6.0 application which is using WAMP server (PHP_MYSQL database) and I want to let another PC or Lap Top to access the database.
How can I configure or program VB to access the database?
It is possible. We have multiple machines connecting to our wampserver databases Here is a checklist to get your started:
Have you granted external access to your MySQL user accounts?
Have you opened up your Windows firewall to allow incoming connections to your MySQL port?
Is your VB6 app set up to connect to MySQL?

Resources