分享

写回答

发帖

[教程] GD如何连接外部的数据库???

GoDaddy GoDaddy 3327 人阅读 | 5 人回复

发表于 2011-5-31 10:54:05 | 显示全部楼层 |阅读模式

在GD购买了服务器空间放网站,想要连接国内的数据库,应该怎么解决?
<add key="ConnectionString" value="server=111.111.111.111;database=SSS;User ID=SSS;password=SSS123;"/>

回答|共 5 个

ybbao

发表于 2011-5-31 10:57:53 | 显示全部楼层

你的数据库支持外链,然后输入数据库地址,就可以了
回复 支持 反对

使用道具 举报

alberts24

发表于 2011-5-31 11:09:19 | 显示全部楼层

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)  
出现这个提示是什么意思?
回复 支持 反对

使用道具 举报

alberts24

发表于 2011-5-31 11:21:51 | 显示全部楼层

2 楼的朋友能说的更详细一些吗?
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-5-31 11:26:07 | 显示全部楼层

godaddy不支持连接外部的数据库
RAKSmart
回复 支持 反对

使用道具 举报

kingsontsao

发表于 2011-5-31 11:29:12 | 显示全部楼层

回复 4# 的帖子

2楼的说错了  GD中不支持连接外部的数据库信息的!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则