why couldn't use windows authorization? it is recommended by MS. Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下: You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database
关键是我该如何设置这个用户名和密码,其它不重要。比如把甲服务器上的数据库文件挂在乙服务器上,怎么样都无所谓。why couldn't use windows authorization? it is recommended by MS. Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下: You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database
why couldn't use windows authorization? it is recommended by MS. Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下: You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database 用户名密码是你要ATTACH数据库INSTANCE的用户名密码
why couldn't use windows authorization? it is recommended by MS. Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下: You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database 用户名密码是你要ATTACH数据库INSTANCE的用户名密码不管用的不管用的不管用的。
browser应该是数据库名。
不要使用windows验证,使用SQLSERVER验证。
Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下:
You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database
windows验证,那么程序只能在本机运行,除非他只用到本机上面,否则移植到其他电脑都会连接不上。
Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下:
You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database
Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下:
You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database
用户名密码是你要ATTACH数据库INSTANCE的用户名密码
也可以输入sql 认证模式,比如使用sa,密码就是安装MSSQL时候设置的。
2. 楼主可以使用已经有的数据库来连接就行了,每次载入MDF的链接用途不太大,因为一般应用发布是数据库已经在SERVER端attach了。
Security Note When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time.另外说一下使用File-based Database的作用如下:
You can attach an existing database file to a local instance of SQL Server, or you can create a database file to attach to the local instance.这个作用是将数据库挂在到你选择的INSTANCE上面。 操作步骤参考How to: Connect to a File-based Database
用户名密码是你要ATTACH数据库INSTANCE的用户名密码不管用的不管用的不管用的。