We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Importing a database with the same user as already on system.

Medium Priority
431 Views
Last Modified: 2012-06-22
Hi, my SQL install has a user called 'sitecore' with password '123'.
When I import a database (another MDF) from another machine that also had the user 'sitecore' but with a different password of 'oldpass' I cannot login.

On the imported machine trying both sitecore/123 or sitecore/oldpass does not work.

One solution I found was deleting the 'sitecore' user from the imported database and creating it again, but I don't want to do that. Is there a way to match these usernames up so I can login?
Comment
Watch Question

Software Engineer
CERTIFIED EXPERT
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Yes, but needs to be run on each database.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.