I have created a new login for SQL Server Express as follows:
USE [master] GO CREATE LOGIN [Test] WITH PASSWORD=N'SF#$%GD%^J675JFS4fds' MUST_CHANGE, DEFAULT_DATABASE=[master], CHECK_EXPIRATION=ON, CHECK_POLICY=ON GO ALTER SERVER ROLE [sysadmin] ADD MEMBER [Test] GO USE [master] GO CREATE USER [Test] FOR LOGIN [Test] GO USE [master] GO ALTER ROLE [db_securityadmin] ADD MEMBER [Test] GO
When I try to connect via the Test login, I receive the error message that
Login failed for user 'Test'
I needed to configure the server for SQL Server and Windows Authentication Mode.
See also: http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With