SQL Server用户'sa'登录失败(错误18456)
2017-04-12 16:11
246 查看
SQL2008无法连接到.\SQLEXPRESS,用户'sa'登录失败(错误18456)图文解决方法
如有转载请注明出处:http://www.cnblogs.com/flydoos/archive/2012/03/06/2381292.html
出现问题 :
标题: 连接到服务器
------------------------------
无法连接到 .\SQLEXPRESS。
------------------------------
其他信息:
用户 'sa' 登录失败。 (Microsoft SQL Server,错误: 18456)
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083801.png)
解决方法:
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083802.png)
1、打开数据库——用Windows身份登录数据库
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083803.png)
02、登录名——双击sa(打开属性)
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083808.png)
03、常规——设置密码——确定
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083804.png)
04、状态——登录:启用——确定
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083805.png)
05、 右击服务器名——属性
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083806.png)
06、安全性——选中 SQL Server 和 Windows 身份验证模式——确定
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306083807.png)
07、 右击服务器名——重新启动——关闭数据库连接,退出程序——用sa登录到数据库——解决
补充说明:
如果以上方法无效,那么请到开始菜单——Microsoft SQL Server 2008——配置工具——Microsoft SQL Server 2008
![](http://images.cnblogs.com/cnblogs_com/flydoos/20120306231601.gif)
相关文章推荐
- SQL Server 2008 R2用户'sa'登录失败(错误18456)
- SQL Server 2008 用户SA登录失败(错误18456)之图文解决方法
- SQL Server 2008 R2用户'sa'登录失败(错误18456)
- SQL2005的sa用户登录问题 用户名无法登录sql2005"已成功与服务器建立连接,但是在登录过程中发生错误" 用户"sa"登陆失败,SQL Server错误:18456
- SQL Server 错误:18456。用户“sa”登录失败
- sql server 用户'sa'登录失败(错误18456)
- SQL Server2014“用户'sa'登录失败,错误18456”问题
- sql server 用户'sa'登录失败(错误18456)
- sql server 2012错误:"用户 sa 登录失败 microsoft sql server,错误:18456"解决方法
- SQL2008无法连接到.\SQLEXPRESS,用户'sa'登录失败(错误18456)图文解决方法 已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: 共享内存提供程序, er
- 解决 用户'sa'登录失败。错误:18456 问题
- sql 2005 用户 sa 登录失败,该用户与可信SQL Server连接无关联 错误18452
- SQL2008无法连接到.\SQLEXPRESS,用户'sa'登录失败(错误18456)图文解决方法
- SQL2008 用户'sa'登录失败(错误18456)图文解决方法
- SQL2008 用户'sa'登录失败(错误18456)图文解决方法
- 无法连接到WENTASY-PC/SQLEXPRESS 用户'sa'登录失败 错误18456解决
- sql 2005 用户 sa 登录失败,该用户与可信SQL Server连接无关联 错误18452
- sql 2005 用户 sa 登录失败,该用户与可信SQL Server连接无关联 错误18452
- sql 2005 用户 sa 登录失败,该用户与可信SQL Server连接无关联 错误18452
- sql server 用户'sa'登录失败(错误18456)