如何连接到远程托管的sql数据库 [英] How do I connect to a remote hosted sql database

查看:111
本文介绍了如何连接到远程托管的sql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hey Guys我有一个通过互联网托管的远程桌面服务器,我真的很新...我如何让我的客户端应用程序连接到该服务器上的sql数据库,请我需要帮助。



i我正在使用Windows窗体。

Hey Guys i have a remote desktop server hosted over the internet, and im really new to this .. how can i get my client application to connect to the sql database on that server, please i need help.

i am using windows forms.

推荐答案

是可以检测远程服务器的IP。输入

Yes can Detect the IP of remote server. Type
cmd



in run&输入


in run & Type

IPCONFIG



您将获得远程服务器的ipaddress。

把那个IP地址:

.
You will get the ipaddress of the remote server.
Put that Ip Address :

<data source="192.168.x.xxx\SQLExpress;Initial" catalog="Master;Integrated" security="True;MultipleActiveResultSets=True</pre">

x->denotes any no.May be 0 ,2,3,or anuything</data>


这篇关于如何连接到远程托管的sql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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