使用sql 账户 登录失败需要检查的地方
今天偶然换sql server 2008 登录,平时都用的是windows 账户直接连接登录,就没注意
链接后出现
A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared memory Provider, error: 0 –No process is on the other end of the pipe.)
(Microsoft SQL Server, 错误:233)
解决办法是 确保以下内容是正确的
服务器属性中的安全性 (对象资源管理器选中服务器—>右键,属性),确保sql server 和windows 身份验证模式被选中
同时检查下sa的属性
最后,确保你的sqlserver远程连接是开启的(本地通过其他程序连接也算远程连接的)
最后记得重启下sql server 服务,或者直接重启计算机就可以解决了。