SQL Server Error

Posted July 11, 2018 2.1k views

Cannot connect to SQL Server. An error message: SQL Server Error 18456
Can anyone advise me of a solution to this. Many Thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hey - Googling “Sql Server Error 18456” leads me here -

Sounds like it is a Logon Failed error meaning your username or password is incorrect.

The error reason An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. can be returned in the following situation:
When the server is configured for mixed mode authentication, and an ODBC connection uses the TCP protocol, and the connection does not explicitly specify that the connection should use a trusted connection. To resolve this issue, include TRUSTED_CONNECTION = TRUE in the connection string or you can: fix sql error