如何为远程数据库服务器设置连接字符串什么是实例名称 [英] how to set the connecction string for the remoter db server what is the instance name

查看:117
本文介绍了如何为远程数据库服务器设置连接字符串什么是实例名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将我的数据库上传到托管服务器。

但我不知道如何根据托管服务器设置连接strig



please给我举一些例子...



提前预付..

i hv my database uploaded to hosting server.
but im not sure how to set the connecction strig according hosting server

please provide me some example...

thanx in advance..

推荐答案

每个托管服务提供商提供一个连接字符串,在其上创建数据库时,包含服务器名称,用户ID,密码。在连接字符串中使用该信息。
Every hosting provider provides a Connection Stringwith Server Name, User ID , Password when a Database is created on it. Use that information in your connection string.


这篇关于如何为远程数据库服务器设置连接字符串什么是实例名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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