I'm trying to create a user in a SQL Server database with SQL authentication. That's what I did:
- Created database named
testDb(with default parameters) ran script
CREATE LOGIN test WITH PASSWORD = 'test'; USE testDb; CREATE USER test FOR LOGIN test; GOEnsured user
testappeared inDatabases\testDb\Security(in Management Studio)- Tried to connect to the server with Management Studio using user
test - Got 18456 error.
I'm using SQL Server 2008 Developer Edition. The OS is Windows 7 Ultimate. What am I doing wrong?