SQL Server 2005 Windows验证如何改为混合模式验证

本文涉及的产品
RDS SQL Server Serverless,2-4RCU 50GB 3个月
推荐场景:
云数据库 RDS SQL Server,基础系列 2核4GB
简介: SQL Server 2005 Windows验证如何改为混合模式验证

SQL Server 2005 Windows验证如何改为混合模式验证[]


默认情况下,SQL Server 2005 Express是采用集成的Windows安全验证且禁用了sa登录名,而很多用户使用数据库的时候需要用到sql身份验证,如下可开启sql验证


1、使用SQL Server Management Studio

 



当我们启动
SQL Server Management Studio时,首先它要连接到我们的SQL Server 2005,服务器名称的组成为:机器名\实例名,因此,本例的服务名称为W2K3-C\SQLEXPRESS(注:安装SQL Server 2005 Express的机器名为W2K3-C)。第一次使用SQL Server Management Studio,由于我们必须采用Windows身份验证,这是默认安装时决定的。

 

2、设置SQL Server 2005的身份验证方式


 

 




 

3、设置sa的密码并启用sa登录名

 

 

 


由于我们不知道sa的密码,所以我们须设置一个!不要关闭这个窗口,接着选择左侧的状态,默认情况下,sa登录名是禁用的,因此,我们必须启用sa登录名,选择右侧的登录下的启用

 



要是没有"状态"就忽略可以

 

最后,我们点击窗口下面的确定按钮。好了,到此为止,SQL Server 2005服务器已经可以让sa登录了,不过,要重新启动一下,让配置生效。

 



重启后即可

 

相关实践学习
使用SQL语句管理索引
本次实验主要介绍如何在RDS-SQLServer数据库中,使用SQL语句管理索引。
SQL Server on Linux入门教程
SQL Server数据库一直只提供Windows下的版本。2016年微软宣布推出可运行在Linux系统下的SQL Server数据库,该版本目前还是早期预览版本。本课程主要介绍SQLServer On Linux的基本知识。 相关的阿里云产品:云数据库RDS SQL Server版 RDS SQL Server不仅拥有高可用架构和任意时间点的数据恢复功能,强力支撑各种企业应用,同时也包含了微软的License费用,减少额外支出。 了解产品详情: https://www.aliyun.com/product/rds/sqlserver
目录
相关文章
|
13天前
|
边缘计算 安全 网络安全
|
6天前
|
数据安全/隐私保护 Windows
安装 Windows Server 2019
安装 Windows Server 2019
|
9天前
|
网络协议 Windows
Windows Server 2019 DHCP服务器搭建
Windows Server 2019 DHCP服务器搭建
|
9天前
|
网络协议 定位技术 Windows
Windows Server 2019 DNS服务器搭建
Windows Server 2019 DNS服务器搭建
|
6天前
|
安全 网络协议 数据安全/隐私保护
Windows Server 2019 搭建并加入域
Windows Server 2019 搭建并加入域
|
9天前
|
网络协议 文件存储 Windows
Windows Server 2019 FTP服务器搭建
Windows Server 2019 FTP服务器搭建
|
9天前
|
网络协议 Windows
Windows Server 2019 Web服务器搭建
Windows Server 2019 Web服务器搭建
|
1月前
|
网络安全 虚拟化 Windows
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
|
1月前
|
关系型数据库 MySQL 网络安全
5-10Can't connect to MySQL server on 'sh-cynosl-grp-fcs50xoa.sql.tencentcdb.com' (110)")
5-10Can't connect to MySQL server on 'sh-cynosl-grp-fcs50xoa.sql.tencentcdb.com' (110)")
|
1月前
|
Windows
Windows7电脑启动时提示文件winload.exe无法验证其数字签名,错误代码0xc0000428的解决方法
Windows7电脑启动时提示文件winload.exe无法验证其数字签名,错误代码0xc0000428的解决方法