'abc123', 'MyDNN' GO USE MyDNN GO EXEC sp_grantdbaccess 'MyDNN', 'MyDNN' You created a database user that matches to the SQL Server login..