集成安全性为False的LocalDB连接

问题描述:

我到处都是,但仍然没有找到这个简单问题的明确答案:

I was looking everywhere and still have not found clear answer to this simple question:

是否可以对LocalDB使用SQL身份验证,即是否可以使用包含

Is it possible to use SQL authentication with LocalDB, i.e. is it possible to use connection string containing

Integrated Security=False

?

是的,我上次尝试过是可能的.只需按照此MDSN文章中的步骤操作即可.

Yes, last I tried it was possible. Just follow the steps from this MDSN article.

请记住,它将仍然是用户实例,在启动它的帐户下运行,并且在注销该帐户后将被关闭.也没有远程访问.

Keep in mind that it will still be user instance, running under the account that started it, and will be shut down shall the account log out. Also no remote access.