Hi I created a new login SQL server authentication in SQL server 2008, however I am unable to login with that user.
Getting an error like ,
Cannot connect to (local).
ADDITIONAL INFORMATION:
Login failed for user 'sa'. (Microsoft SQL Server, Error: 18456)
The error Login failed for user 'sa'
means that connection to server was established, but server refused it under certain circumstances, such as:
User Action
- If you are trying to connect using SQL Server Authentication, verify that SQL Server is configured in Mixed Authentication Mode.
- If you are trying to connect using SQL Server Authentication, verify that SQL Server login exists and that you have spelled it properly.
- If you are trying to connect using Windows Authentication, verify that you are properly logged into the correct domain.
- If your error indicates state 1, contact your SQL Server administrator.
From this article
Should this not help try troubleshooting this issue following these steps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.