我是否需要在客户端和服务器端安装SQL Server?

时间:2021-12-08 15:39:23

I'm creating a forms based application which has a SQL Server database, this database file will be stored on the server machine.

我正在创建一个基于表单的应用程序,它有一个SQL Server数据库,这个数据库文件将存储在服务器机器上。

I want to know if I need to install SQL Server at both side client and server machine.

我想知道是否需要在客户端和服务器端安装SQL Server。

What I have tried:

我试过的:

I am installing SQL Server at server side and configuring windows firewall and enabling the tcp/ip protocol.

我在服务器端安装SQL Server并配置Windows防火墙并启用tcp / ip协议。

1 个解决方案

#1


0  

Check out this thread, it might be helpful for your question: Remote connection to SQL Server DB from WPF application

查看此主题,它可能对您的问题有所帮助:从WPF应用程序远程连接到SQL Server DB

In short - no, you need it on the server only.

简而言之 - 不,您只需要在服务器上使用它。

#1


0  

Check out this thread, it might be helpful for your question: Remote connection to SQL Server DB from WPF application

查看此主题,它可能对您的问题有所帮助:从WPF应用程序远程连接到SQL Server DB

In short - no, you need it on the server only.

简而言之 - 不,您只需要在服务器上使用它。