连不上sql server ?
我用odbc建立连接
// Profile s1
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='DSN=sss;UID=sa;PWD=sql'"
如果没有设置密码,也连接的上
就连接得上
但是建立sql配置文件就连不上,报错为“登陆不正确"
SQLCA.DBMS = "MSS Microsoft SQL Server 6.x"
SQLCA.Database = "sss"
SQLCA.LogPass = <***> //如果没有设置密码,也报同样的错
SQLCA.ServerName = "spirespring"
SQLCA.LogId = "sa"
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
我用的是pb8.0 ,sql server 2000个人版装了服务器端和客户端的,windows 2000
我的sql server 2000安装的时候是用的windows身份验证