A user approached me with the error message :
Login failed for user 'mysqlaccount'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)
Login failed for user 'mysqlaccount'. The user is not associated with a trusted SQL Server connection. [CLIENT: 90.223.37.45]
The reason this error occured was SQL server had been configured to operate in "Windows Authentication Mode (Windows Authentication)" which doesn't allow the use of SQL accounts.
In those circumstances, change the Authentication Mode of the SQL server from "Windows Authentication Mode (Windows Authentication)" to "Mixed Mode (Windows Authentication and SQL Server Authentication)".
Change the authentication mode by :
The most likely reason it was in Windows Authentication mode initially as it was chosen during the install process. But as indicated this can be changed easily. Consider the consequences of changing modes as this may contradict the Enterprise security policy
Source:Jack Vamvas (http://www.sqlserver-dba.com)
Author: Jack Vamvas (http://www.sqlserver-dba.com)
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |