将数据库连接到多台计算机 [英] connect database into multiple computer

查看:85
本文介绍了将数据库连接到多台计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在vb.net 2005中创建了一个应用程序,数据库是sql.
我想将数据库连接到多台计算机,我想将数据插入多台计算机,那怎么可能呢?请给我提供示例解决方案.

i created one application in vb.net 2005 and database is sql.
i want to connect a database into multiple computer and i want to insert a data into multiple computer then how its possible?? please give me solution with example.

推荐答案

数据库位于一台计算机(即服务器")上.其他计算机(客户端")连接到服务器上的数据库.
在数据库连接的连接字符串中,确保使用服务器的名称或IP地址.另外,还要确保将SQL Server配置为接受来自localhost以外的其他计算机的连接,并检查防火墙设置.
The database stays on one computer, the "server". The other computers ("clients") connect to the database on the server.
In the connection string for the database connection, make sure to use the server''s name or IP address. Also make sure to configure the SQL Server to accept connections from other computers than localhost, and check the firewall settings.


这篇关于将数据库连接到多台计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆