我正在使用以下 SQL 脚本在 SQL Server 2008 中创建新登录名:
CREATE LOGIN [xyz] WITH PASSWORD='xyz',
DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english],
CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
它成功创建了新的登录名。但是当我尝试使用 SQL Server Management Studio 登录时,它失败并显示:
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, Error: 233)
怎么了?我该如何解决这个问题?
最佳答案
这是我的做法,也许它也适合你。
使用 Windows 身份验证登录 Microsoft SQL Server 2012。
在对象资源管理器中右键单击服务器名称,然后单击“属性”
在新选项卡中单击“安全”
选择 SQL Server 和 Windows 身份验证
好的
关闭 SQL Server Management Studio。
开始+运行
编写services.msc
在那里搜索 SQL 并重新启动所有服务。
这对我有用。
关于SQL Server 2008 错误 233,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6072505/