Error connecting to MSSQL server from Linux
The same issue was reported here. Apparently a change to the settings and the ODBC fixed the issue, you may want to give a try.
Also I'm seeing Trusted_Connection=yes is the authentication possible between the linux and the SQL Server? If not maybe you should go with SQL Authentication.