我如何在sql数据文件(.mdf,.ldf)上设置密码 [英] how i make password on my sql data files (.mdf , .ldf)

查看:117
本文介绍了我如何在sql数据文件(.mdf,.ldf)上设置密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在sql数据文件(.mdf,.ldf)上设置密码,以及在进行附加时首先要求我提供允许附件的密码.

在此先感谢

How do I make password on my sql data files (.mdf , .ldf) and when make attach asking me first for the password to allow the attachment.

thanks in advance

推荐答案

尝试一下:

添加用户帐户 [>为新的SQL Server数据库创建用户名和密码 [ ^ ]

基本上,如果没有为数据库设置密码,您将无法附加数据库.
GL
try this:

Adding User Accounts[^]

and Create username and password for new SQL Server database[^]

basically you wont be able to attach a database without a password that has been set for it anyway.
GL


这篇关于我如何在sql数据文件(.mdf,.ldf)上设置密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆