
2008-4-19 19:09
liyihongcug
php 不能连接远程sqlserver2005
之前是正常的 (php web服务和sqlserver2005数据库在同台机器上)
现在新购入机器作为专门的数据库服务器,但是发现php 不能连接远程sqlserver2005
(现在发现只能连接本地的数据库)
代码测试如下(都失败)
mssql_connect("bidw","sa","sa") ----(同台 is ok, 远程失败 )
后来有人介绍mssql_connect("172.24.12.111:1433","sa","sa") ---失败
如何php 连接远程sqlserver2005 ok?
2008-6-30 23:19
ruian123456
不知道,没有用过,好像php没有远程连接的
2008-6-30 23:52
justforregister
连个数据库都这么麻烦啊
2008-7-1 19:54
Sky-Tiger
google一下吧!
2008-7-1 23:32
justforregister
同意
2008-7-2 01:52
ckwong2002
你的SERVER 是用WINDOW IIS 或是LINUX
2008-7-2 23:49
justforregister
怎么和iis相关啊?
2008-7-2 23:50
justforregister
应该是windows
页:
[1]

Powered by ITPUB论坛