无法将 SQL Server 身份验证与 SQL Server Express 2008 结合使用
我有一个关于 SQL Server 身份验证的简单问题。
我正在使用 VS2010 附带的 SQL Server 2008 Express。由于 SQL Server Express 是与 VS2010 一起安装的,因此没有输入 SQL Server 身份验证密码的选项(如果我选择 SQL Server 2008 Standard,则会出现一个可以输入密码的屏幕)。
现在,当我尝试使用 SQL Server 身份验证创建新数据库时,我告诉我输入我从未创建过的用户名和密码。
我应该从这里去哪里?提前致谢。
I have a simple question regarding SQL Server Authentication.
I am working with SQL Server 2008 Express which came along with VS2010. As SQL Server Express was installed along with VS2010, there was no option to enter the password for SQL Server authentication (had I gone for SQL Server 2008 Standard, I get a screen where I can enter the password).
Now when I try to create a new database with SQL Server authentication, I tells me enter the username and password which I have never created.
Where should I go from here? Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
无需重新安装。
No need to reinstall.
我安装了 SqlExpress 和 Mgmt studio Express。这允许我更改 SA 密码。
I have SqlExpress installed along with Mgmt studio express. That allows me to change the SA password.
安装 SQL Server 2008 Express 时有 2 个选项:混合身份验证或 Windows 身份验证。下面有两个文本框用于输入 sa/password。
尝试使用 Windows 身份验证。但最好使用您要记住的密码和用户名以混合模式重新安装服务器。
There are 2 options when installing the SQL Server 2008 Express: mixed or windows authentication. There are two textboxes below that to enter sa/password.
Try using windows authentication. But it would be probably best to reinstall the server in mixed mode with a password and username that you are going to remember.