从远程服务器访问SQL数据库 [英] Accessing SQL Database from remote server

查看:94
本文介绍了从远程服务器访问SQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
任何人都可以帮助我如何访问托管在我们服务器上的sql server数据库吗,我已经在该服务器上进行了登录,然后将用户添加到该数据库中并为其分配了一些角色,还向Windows防火墙添加了sqlbrowser和sqlserver进程例外列表,我也关闭了服务器上的共享内存,但是当我尝试使用该服务器的IP地址,我进行的登录以及带有密码的sql帐户名登录到该服务器时,却出现了错误这样的

无法打开与SQL Server的连接(Microsoft SQL Server错误:53)

Mehboob Ali
巴基斯坦

Hi everybody,
Can any one help me how to access the sql server database hosted on our server,i had made the login on that server,then i add user to that data base and assign it some roles,i also add sqlbrowser and sqlserver process to windows firewall exception list,i turned off the shared memory on the server as well,but when i try to login to that sever by using,the IP address of that server,the login i had made and sql account name with password,it gaves me error like that

could not open a connection to sql server (Microsoft SQL Server error:53)

Mehboob Ali
Pakistan

推荐答案

确保已在Sql Server配置管理器中为有问题的数据库实例启用了TCP/IP.它将位于配置管理器中的"SQL Server网络配置"下.

抱歉...刚刚看到了2005年的标签,但想法相同.我没有安装2005便携式设备,但是您正在寻求通过TCP/IP启用远程连接.

干杯,
-jc
Make sure you have TCP/IP enabled in Sql Server Configuration Manager for the database instance in question. It will be under SQL Server Network Configuration in the config manager.

Sorry...just saw the 2005 tag, but same idea. I don''t have a 2005 install handy but you''re looking to enable remote connections via TCP/IP.

Cheers,
-jc


这篇关于从远程服务器访问SQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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