Cannot login after creating the user in SQL Server

.net core cannot connect DB 

new user in sql server not work   











Solution 
Can not login user in ssms, 

after set mode as below, check ssms, then login the wheelchair success



Try setting your authentication mode to mixed mode. Your server does probably not accept logins using sql server accounts.
  1. Open properties
  2. Go to "Security"
  3. Select "SQL Server and Windows Authentication mode"



    =================
    Create Sa Account

    https://sudeeptaganguly.wordpress.com/2010/04/20/how-to-enable-sa-account-in-sql-server/


  4. GO
  5. ALTER LOGIN [sa] WITH PASSWORD=N'123456'
  6. GO
  7. ALTER LOGIN [sa] ENABLE
  8. GO



留言

這個網誌中的熱門文章

香港袐密行動

要老是忘記, 我更記不起