如何使用VB.NET和SQL Server 12创建集中式数据库 [英] How do I create a centralize database using VB.NET and SQL server 12

查看:56
本文介绍了如何使用VB.NET和SQL Server 12创建集中式数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



任何人都可以帮助我提供任何建议,源代码,文章和其他相关细节,将数据库作为中央服务器一次有3-5个用户访问数据库表。它们都将通过局域网连接。



我一直在寻找完美的材料,但它只会造成混乱。请帮帮我。



我尝试过:



我以前没有创建过这样的应用程序。所以,我期待得到最大的支持。我需要经历任何教程,文章或其他资源吗?我知道这种语言。



谢谢。

Hello everyone.

Can anyone help me with any kind of suggestions, source codes, articles and other relevant details on making a database as a central server where the tables of the database will be accessed by 3-5 users at a time. They all will be connected via LAN.

I have been looking for the perfect material but its just creating a confusion. Please help me in this.

What I have tried:

I haven't created such application before. So, I was expecting a maximum support. Is there any tutorials, articles or other resources that I need to go through? I know the language.

Thanks.

推荐答案

你需要注意什么特别的事情设计这样的数据库它与您在创建独立应用程序中使用的数据库时所做的一样。



您需要通过TCP / IP协议启用连接。您可以通过 SQL Server配置管理器完成。您还需要确保防火墙允许从远程计算机进行连接。如果没有,您可以相应地添加规则。

查看此文档 - 从另一台计算机连接 [ ^ ]



您需要确保连接字符串包含完整的服务器名称而不是(本地)或任何其他别名。你甚至可以使用你想要作为服务器的那台机器的IP地址,但要确保你有一个修复IP而不是生成的DHCP。



应该这样做工作。如果您需要进一步的指导,请告诉我。



谢谢
There is nothing special you need to take care in designing such database. It's just the same as what you have been doing to create a database those are used in standalone applications.

You need to enable connecting though TCP/IP protocol. That you can do through SQL Server Configuration Manager. You also need to make sure that your Firewall allows the connection from remote machines. If not, you can add a rule accordingly.
Check this documentation- Connecting from Another Computer[^]

You need to make sure that, the connection string contains the full server name instead of (local) or any other alias. You can even use IP address of that machine which you want to serve as Server but make sure that you have a fix IP instead of DHCP generated.

That should do the job. Please let me know in case you need further guidance on this.

Thanks


这篇关于如何使用VB.NET和SQL Server 12创建集中式数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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