March 28, 2014 at 2:37 pm
Hello,
I copied a database from SQL 2008R2 to another 2008 R2 server, then scripted SQL logins and created them in new server , however can't login to the new server. These are not windows logins, but SQL logins.
how to we synch the login/password, so users can logon to new server?
TIA,
Nasir
March 28, 2014 at 2:52 pm
If you copied the database files over before the sql logins it will break the login connection to the DB. You basically have to re-initialize the logins. There are a few scripts out there that will do that for you. If you create the logins before you migrate the DB's, you should be fine.
March 28, 2014 at 2:53 pm
March 28, 2014 at 2:53 pm
Read this article. It generates the create login statements and includes their password as a hashed value.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply